org.glassfish.jersey.examples.clipboard
Class ClipboardDataProvider.ApplicationJson
java.lang.Object
org.glassfish.jersey.examples.clipboard.ClipboardDataProvider
org.glassfish.jersey.examples.clipboard.ClipboardDataProvider.ApplicationJson
- All Implemented Interfaces:
- MessageBodyReader, MessageBodyWriter
- Enclosing class:
- ClipboardDataProvider
@Provider
public static class ClipboardDataProvider.ApplicationJson
- extends ClipboardDataProvider
|
Method Summary |
Object |
readFrom(Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap httpHeaders,
InputStream entityStream)
|
void |
writeTo(Object t,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap httpHeaders,
OutputStream entityStream)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClipboardDataProvider.ApplicationJson
public ClipboardDataProvider.ApplicationJson()
writeTo
public void writeTo(Object t,
Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap httpHeaders,
OutputStream entityStream)
throws IOException,
WebApplicationException
- Throws:
IOException
WebApplicationException
readFrom
public Object readFrom(Class type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap httpHeaders,
InputStream entityStream)
throws IOException,
WebApplicationException
- Throws:
IOException
WebApplicationException
Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.