org.glassfish.jersey.jettison.internal.entity
Class JettisonArrayProvider
java.lang.Object
org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider<T>
org.glassfish.jersey.jettison.internal.entity.JettisonLowLevelProvider<org.codehaus.jettison.json.JSONArray>
org.glassfish.jersey.jettison.internal.entity.JettisonArrayProvider
- 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:
- JettisonArrayProvider.App, JettisonArrayProvider.General
public class JettisonArrayProvider
- extends JettisonLowLevelProvider<org.codehaus.jettison.json.JSONArray>
Low-level JSON media type message entity provider (reader & writer) for
JSONArray.
- Author:
- Jakub Podlesak (jakub.podlesak at oracle.com)
|
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 © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.