Package org.apache.johnzon.jaxrs
Class NoContentExceptionHandlerReader<T>
- java.lang.Object
-
- org.apache.johnzon.jaxrs.NoContentExceptionHandlerReader<T>
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<T>
public class NoContentExceptionHandlerReader<T> extends Object implements jakarta.ws.rs.ext.MessageBodyReader<T>
-
-
Constructor Summary
Constructors Constructor Description NoContentExceptionHandlerReader(jakarta.ws.rs.ext.MessageBodyReader<T> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.ext.MessageBodyReader<T>
getDelegate()
boolean
isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
T
readFrom(Class<T> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream)
-
-
-
Field Detail
-
delegate
private final jakarta.ws.rs.ext.MessageBodyReader<T> delegate
-
-
Constructor Detail
-
NoContentExceptionHandlerReader
public NoContentExceptionHandlerReader(jakarta.ws.rs.ext.MessageBodyReader<T> delegate)
-
-
Method Detail
-
getDelegate
public jakarta.ws.rs.ext.MessageBodyReader<T> getDelegate()
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
isReadable
in interfacejakarta.ws.rs.ext.MessageBodyReader<T>
-
readFrom
public T readFrom(Class<T> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException
- Specified by:
readFrom
in interfacejakarta.ws.rs.ext.MessageBodyReader<T>
- Throws:
IOException
jakarta.ws.rs.WebApplicationException
-
-