Class LCStateMessageBodyReader
java.lang.Object
org.wso2.carbon.governance.rest.api.internal.JSONMessageBodyReader
org.wso2.carbon.governance.rest.api.internal.LCStateMessageBodyReader
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<AssetStateChange>
public class LCStateMessageBodyReader
extends JSONMessageBodyReader
implements javax.ws.rs.ext.MessageBodyReader<AssetStateChange>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType) readFrom(Class<AssetStateChange> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String, String> httpHeaders, InputStream entityStream) Methods inherited from class org.wso2.carbon.governance.rest.api.internal.JSONMessageBodyReader
handleJSON, handleObject
-
Field Details
-
ATTR_LIFECYCLE
- See Also:
-
ATTR_ACTION
- See Also:
-
UTF_8
- See Also:
-
-
Constructor Details
-
LCStateMessageBodyReader
public LCStateMessageBodyReader()
-
-
Method Details
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType) - Specified by:
isReadablein interfacejavax.ws.rs.ext.MessageBodyReader<AssetStateChange>
-
readFrom
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- Specified by:
readFromin interfacejavax.ws.rs.ext.MessageBodyReader<AssetStateChange>- Throws:
IOExceptionjavax.ws.rs.WebApplicationException
-