@Provider public class CumulocityJSONMessageBodyReader extends Object implements javax.ws.rs.ext.MessageBodyReader<BaseResourceRepresentation>
Modifier and Type | Class and Description |
---|---|
static interface |
CumulocityJSONMessageBodyReader.JSONParserAdapter |
Constructor and Description |
---|
CumulocityJSONMessageBodyReader() |
CumulocityJSONMessageBodyReader(CumulocityJSONMessageBodyReader.JSONParserAdapter unmarshaller) |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
BaseResourceRepresentation |
readFrom(Class<BaseResourceRepresentation> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
public CumulocityJSONMessageBodyReader(CumulocityJSONMessageBodyReader.JSONParserAdapter unmarshaller)
public CumulocityJSONMessageBodyReader()
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<BaseResourceRepresentation>
public BaseResourceRepresentation readFrom(Class<BaseResourceRepresentation> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<BaseResourceRepresentation>
javax.ws.rs.WebApplicationException
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.