public class JAXRSJSONMessageBodyReader extends HypermediaJSONMessageBodyReader
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string 
 | 
INPUT_JSON_REQUEST_ATTRIBUTE_NAME, mSigningService, mSupplementaryPayloadSchemaPropertiesSERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
JAXRSJSONMessageBodyReader()
Constructs an instanceof JSONMessageBodyReader 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
doStartService()
This is called after a Service has been created, placed into the
 naming hierarchy, and initialized with its configured property
 values. 
 | 
boolean | 
isReadable(java.lang.Class<?> pType,
          java.lang.reflect.Type pGenericType,
          java.lang.annotation.Annotation[] pAnnotations,
          MediaType pMediaType)
check to see if the given type is readable 
 | 
org.json.JSONObject | 
readFrom(java.lang.Class<org.json.JSONObject> pType,
        java.lang.reflect.Type pGenericType,
        java.lang.annotation.Annotation[] pAnnotations,
        MediaType pMediaType,
        <any> pHttpHeaders,
        java.io.InputStream pEntityStream)
read the json from the input stream 
 | 
addSupplementaryPayloadSchemaProperty, getSigningService, getSupplementaryPayloadSchemaProperties, readStateData, setSigningService, setSupplementaryPayloadSchemaPropertiesaddLogListener, createAdminServlet, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService, toStringvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static final java.lang.String CLASS_VERSION
public JAXRSJSONMessageBodyReader()
public boolean isReadable(java.lang.Class<?> pType,
                          java.lang.reflect.Type pGenericType,
                          java.lang.annotation.Annotation[] pAnnotations,
                          MediaType pMediaType)
public org.json.JSONObject readFrom(java.lang.Class<org.json.JSONObject> pType,
                                    java.lang.reflect.Type pGenericType,
                                    java.lang.annotation.Annotation[] pAnnotations,
                                    MediaType pMediaType,
                                    <any> pHttpHeaders,
                                    java.io.InputStream pEntityStream)
                             throws java.io.IOException,
                                    WebApplicationException
java.io.IOExceptionWebApplicationExceptionpublic void doStartService()
                    throws ServiceException
GenericServicedoStartService in class GenericServiceServiceException - if the Service had a problem starting up