@Provider @Produces(value="application/atom+*") @Consumes(value="application/atom+*") public class AtomEntryProvider extends Object implements javax.ws.rs.ext.MessageBodyReader<Entry>, javax.ws.rs.ext.MessageBodyWriter<Entry>
| Modifier and Type | Field and Description |
|---|---|
protected javax.ws.rs.ext.Providers |
providers |
| Constructor and Description |
|---|
AtomEntryProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected JAXBContextFinder |
getFinder(javax.ws.rs.core.MediaType type) |
long |
getSize(Entry entry,
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) |
Entry |
readFrom(Class<Entry> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
writeTo(Entry entry,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
protected JAXBContextFinder getFinder(javax.ws.rs.core.MediaType type)
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable in interface javax.ws.rs.ext.MessageBodyReader<Entry>public Entry readFrom(Class<Entry> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<Entry>IOExceptionjavax.ws.rs.WebApplicationExceptionpublic boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<Entry>public long getSize(Entry entry, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<Entry>public void writeTo(Entry entry, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<Entry>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.