public class NoContentExceptionHandlerReader<T> extends Object implements javax.ws.rs.ext.MessageBodyReader<T>
| Modifier and Type | Field and Description |
|---|---|
private javax.ws.rs.ext.MessageBodyReader<T> |
delegate |
| Constructor and Description |
|---|
NoContentExceptionHandlerReader(javax.ws.rs.ext.MessageBodyReader<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.ext.MessageBodyReader<T> |
getDelegate() |
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
T |
readFrom(Class<T> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
private final javax.ws.rs.ext.MessageBodyReader<T> delegate
public NoContentExceptionHandlerReader(javax.ws.rs.ext.MessageBodyReader<T> delegate)
public javax.ws.rs.ext.MessageBodyReader<T> getDelegate()
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable in interface javax.ws.rs.ext.MessageBodyReader<T>public T readFrom(Class<T> 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<T>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.