Class ServerReaderInterceptorContext
java.lang.Object
org.jboss.resteasy.core.interception.jaxrs.AbstractReaderInterceptorContext
org.jboss.resteasy.core.interception.jaxrs.ServerReaderInterceptorContext
- All Implemented Interfaces:
jakarta.ws.rs.ext.InterceptorContext
,jakarta.ws.rs.ext.ReaderInterceptorContext
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields inherited from class org.jboss.resteasy.core.interception.jaxrs.AbstractReaderInterceptorContext
annotations, genericType, headers, index, inputStream, interceptors, mediaType, providerFactory, tracingLogger, type
-
Constructor Summary
ConstructorDescriptionServerReaderInterceptorContext
(jakarta.ws.rs.ext.ReaderInterceptor[] interceptors, ResteasyProviderFactory providerFactory, Class type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, InputStream inputStream, HttpRequest request) -
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String name) protected Object
readFrom
(jakarta.ws.rs.ext.MessageBodyReader reader) void
removeProperty
(String name) protected jakarta.ws.rs.ext.MessageBodyReader
resolveReader
(jakarta.ws.rs.core.MediaType mediaType) void
setProperty
(String name, Object object) protected void
Methods inherited from class org.jboss.resteasy.core.interception.jaxrs.AbstractReaderInterceptorContext
getAnnotations, getGenericType, getHeaders, getInputStream, getMediaType, getProcessedInterceptorCount, getReader, getType, proceed, setAnnotations, setGenericType, setInputStream, setMediaType, setType, traceAfter, traceBefore
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.ws.rs.ext.InterceptorContext
hasProperty
-
Constructor Details
-
ServerReaderInterceptorContext
public ServerReaderInterceptorContext(jakarta.ws.rs.ext.ReaderInterceptor[] interceptors, ResteasyProviderFactory providerFactory, Class type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, InputStream inputStream, HttpRequest request)
-
-
Method Details
-
resolveReader
protected jakarta.ws.rs.ext.MessageBodyReader resolveReader(jakarta.ws.rs.core.MediaType mediaType) - Specified by:
resolveReader
in classAbstractReaderInterceptorContext
-
throwReaderNotFound
protected void throwReaderNotFound()- Specified by:
throwReaderNotFound
in classAbstractReaderInterceptorContext
-
readFrom
- Overrides:
readFrom
in classAbstractReaderInterceptorContext
- Throws:
IOException
-
getProperty
-
getPropertyNames
-
setProperty
-
removeProperty
-