org.glassfish.jersey.examples.clipboard
Class ClipboardDataProvider
java.lang.Object
org.glassfish.jersey.examples.clipboard.ClipboardDataProvider
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyReader, javax.ws.rs.ext.MessageBodyWriter
- Direct Known Subclasses:
- ClipboardDataProvider.ApplicationJson, ClipboardDataProvider.TextPlain
public abstract class ClipboardDataProvider
- extends Object
- implements javax.ws.rs.ext.MessageBodyWriter, javax.ws.rs.ext.MessageBodyReader
- Author:
- Jakub Podlesak (jakub.podlesak at oracle.com)
|
Method Summary |
long |
getSize(Object t,
Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
boolean |
isReadable(Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
boolean |
isWriteable(Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.ws.rs.ext.MessageBodyWriter |
writeTo |
| Methods inherited from interface javax.ws.rs.ext.MessageBodyReader |
readFrom |
ClipboardDataProvider
public ClipboardDataProvider()
isWriteable
public boolean isWriteable(Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter
getSize
public long getSize(Object t,
Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
getSize in interface javax.ws.rs.ext.MessageBodyWriter
isReadable
public boolean isReadable(Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
isReadable in interface javax.ws.rs.ext.MessageBodyReader
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.