public class JSONObjectProvider extends JSONLowLevelProvider<org.codehaus.jettison.json.JSONObject>
| Modifier and Type | Class and Description |
|---|---|
static class |
JSONObjectProvider.App |
static class |
JSONObjectProvider.General |
| 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, isWriteablepublic 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
IOExceptionpublic 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
IOExceptionCopyright © 2022. All rights reserved.