com.sun.jersey.json.impl.provider.entity
Class JSONArrayProvider
java.lang.Object
com.sun.jersey.core.provider.AbstractMessageReaderWriterProvider<T>
com.sun.jersey.json.impl.provider.entity.JSONLowLevelProvider<org.codehaus.jettison.json.JSONArray>
com.sun.jersey.json.impl.provider.entity.JSONArrayProvider
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyReader<org.codehaus.jettison.json.JSONArray>, javax.ws.rs.ext.MessageBodyWriter<org.codehaus.jettison.json.JSONArray>
- Direct Known Subclasses:
- JSONArrayProvider.App, JSONArrayProvider.General
public class JSONArrayProvider
- extends JSONLowLevelProvider<org.codehaus.jettison.json.JSONArray>
- Author:
- japod
Method Summary |
org.codehaus.jettison.json.JSONArray |
readFrom(Class<org.codehaus.jettison.json.JSONArray> 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.JSONArray t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readFrom
public org.codehaus.jettison.json.JSONArray readFrom(Class<org.codehaus.jettison.json.JSONArray> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
throws IOException
- Throws:
IOException
writeTo
public void writeTo(org.codehaus.jettison.json.JSONArray 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
- Throws:
IOException
Copyright © 2011 Oracle Corporation. All Rights Reserved.