@Deprecated @Provider public final class OslcCompactJsonProvider extends AbstractOslcRdfJsonProvider implements javax.ws.rs.ext.MessageBodyReader<Compact>, javax.ws.rs.ext.MessageBodyWriter<Compact>
httpServletRequest
Constructor and Description |
---|
OslcCompactJsonProvider()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
getSize(Compact compact,
Class<?> type,
Type genericType,
Annotation[] annotation,
javax.ws.rs.core.MediaType mediaType)
Deprecated.
|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
Deprecated.
|
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
Deprecated.
|
Compact |
readFrom(Class<Compact> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> map,
InputStream inputStream)
Deprecated.
|
void |
writeTo(Compact compact,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> map,
OutputStream outputStream)
Deprecated.
|
buildBadRequestResponse, isOslcQuery, isReadable, isWriteable, readFrom, writeTo, writeTo
public long getSize(Compact compact, Class<?> type, Type genericType, Annotation[] annotation, javax.ws.rs.core.MediaType mediaType)
getSize
in interface javax.ws.rs.ext.MessageBodyWriter<Compact>
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<Compact>
public void writeTo(Compact compact, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> map, OutputStream outputStream) throws IOException, javax.ws.rs.WebApplicationException
writeTo
in interface javax.ws.rs.ext.MessageBodyWriter<Compact>
IOException
javax.ws.rs.WebApplicationException
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<Compact>
public Compact readFrom(Class<Compact> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> map, InputStream inputStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<Compact>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2018. All rights reserved.