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