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