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:
- javax.ws.rs.ext.MessageBodyReader, javax.ws.rs.ext.MessageBodyWriter
- Enclosing class:
- ClipboardDataProvider
@Provider
public static class ClipboardDataProvider.TextPlain
- extends ClipboardDataProvider
|
Method Summary |
Object |
readFrom(Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap httpHeaders,
InputStream entityStream)
|
void |
writeTo(Object t,
Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap httpHeaders,
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(Object t,
Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap httpHeaders,
OutputStream entityStream)
throws IOException,
javax.ws.rs.WebApplicationException
- Throws:
IOException
javax.ws.rs.WebApplicationException
readFrom
public Object readFrom(Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap httpHeaders,
InputStream entityStream)
throws IOException,
javax.ws.rs.WebApplicationException
- Throws:
IOException
javax.ws.rs.WebApplicationException
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.