@Provider @Consumes(value="application/json") @Produces(value="application/json") public static class ClipboardDataProvider.ApplicationJson extends ClipboardDataProvider
ClipboardDataProvider.ApplicationJson, ClipboardDataProvider.TextPlain| Constructor and Description |
|---|
ApplicationJson() |
| Modifier and Type | Method and Description |
|---|---|
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) |
getSize, isReadable, isWriteablepublic void writeTo(Object t, Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap httpHeaders, OutputStream entityStream) throws IOException, WebApplicationException
IOExceptionWebApplicationExceptionpublic Object readFrom(Class type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap httpHeaders, InputStream entityStream) throws IOException, WebApplicationException
IOExceptionWebApplicationExceptionCopyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.