public class LCStateMessageBodyReader extends JSONMessageBodyReader implements javax.ws.rs.ext.MessageBodyReader<AssetStateChange>
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_ACTION |
static String |
ATTR_LIFECYCLE |
static String |
UTF_8 |
| Constructor and Description |
|---|
LCStateMessageBodyReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
AssetStateChange |
readFrom(Class<AssetStateChange> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
handleJSON, handleObjectpublic static final String ATTR_LIFECYCLE
public static final String ATTR_ACTION
public static final String UTF_8
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable in interface javax.ws.rs.ext.MessageBodyReader<AssetStateChange>public AssetStateChange readFrom(Class<AssetStateChange> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<AssetStateChange>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2016 WSO2. All rights reserved.