public class JSONObjectProvider extends JSONLowLevelProvider<org.codehaus.jettison.json.JSONObject>
Modifier and Type | Class and Description |
---|---|
static class |
JSONObjectProvider.App |
static class |
JSONObjectProvider.General |
UTF8
Modifier and Type | Method and Description |
---|---|
org.codehaus.jettison.json.JSONObject |
readFrom(Class<org.codehaus.jettison.json.JSONObject> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
writeTo(org.codehaus.jettison.json.JSONObject t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
isReadable, isSupported, isWriteable
getCharset, getSize, readFromAsString, writeTo, writeTo, writeToAsString
public org.codehaus.jettison.json.JSONObject readFrom(Class<org.codehaus.jettison.json.JSONObject> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException
IOException
public void writeTo(org.codehaus.jettison.json.JSONObject t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException
IOException
Copyright © 2013 Oracle Corporation. All rights reserved.