Class AbstractReaderInterceptorContext
java.lang.Object
org.jboss.resteasy.core.interception.jaxrs.AbstractReaderInterceptorContext
- All Implemented Interfaces:
jakarta.ws.rs.ext.InterceptorContext
,jakarta.ws.rs.ext.ReaderInterceptorContext
- Direct Known Subclasses:
ClientReaderInterceptorContext
,ServerReaderInterceptorContext
public abstract class AbstractReaderInterceptorContext
extends Object
implements jakarta.ws.rs.ext.ReaderInterceptorContext
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Annotation[]
protected Type
protected int
protected InputStream
protected jakarta.ws.rs.ext.ReaderInterceptor[]
protected jakarta.ws.rs.core.MediaType
protected ResteasyProviderFactory
protected RESTEasyTracingLogger
protected Class
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractReaderInterceptorContext
(jakarta.ws.rs.core.MediaType mediaType, ResteasyProviderFactory providerFactory, Annotation[] annotations, jakarta.ws.rs.ext.ReaderInterceptor[] interceptors, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, Type genericType, Class type, InputStream inputStream) Deprecated.AbstractReaderInterceptorContext
(jakarta.ws.rs.core.MediaType mediaType, ResteasyProviderFactory providerFactory, Annotation[] annotations, jakarta.ws.rs.ext.ReaderInterceptor[] interceptors, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, Type genericType, Class type, InputStream inputStream, RESTEasyTracingLogger logger) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.MediaType
protected jakarta.ws.rs.ext.MessageBodyReader
getType()
proceed()
protected Object
readFrom
(jakarta.ws.rs.ext.MessageBodyReader reader) protected abstract jakarta.ws.rs.ext.MessageBodyReader
resolveReader
(jakarta.ws.rs.core.MediaType mediaType) void
setAnnotations
(Annotation[] annotations) void
setGenericType
(Type genericType) void
void
setMediaType
(jakarta.ws.rs.core.MediaType mediaType) void
protected abstract void
protected final void
traceAfter
(jakarta.ws.rs.ext.ReaderInterceptor interceptor) protected final void
traceBefore
(jakarta.ws.rs.ext.ReaderInterceptor interceptor)
-
Field Details
-
Constructor Details
-
AbstractReaderInterceptorContext
@Deprecated public AbstractReaderInterceptorContext(jakarta.ws.rs.core.MediaType mediaType, ResteasyProviderFactory providerFactory, Annotation[] annotations, jakarta.ws.rs.ext.ReaderInterceptor[] interceptors, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, Type genericType, Class type, InputStream inputStream) Deprecated. -
AbstractReaderInterceptorContext
public AbstractReaderInterceptorContext(jakarta.ws.rs.core.MediaType mediaType, ResteasyProviderFactory providerFactory, Annotation[] annotations, jakarta.ws.rs.ext.ReaderInterceptor[] interceptors, jakarta.ws.rs.core.MultivaluedMap<String, String> headers, Type genericType, Class type, InputStream inputStream, RESTEasyTracingLogger logger)
-
-
Method Details
-
proceed
- Specified by:
proceed
in interfacejakarta.ws.rs.ext.ReaderInterceptorContext
- Throws:
IOException
-
readFrom
- Throws:
IOException
-
traceBefore
protected final void traceBefore(jakarta.ws.rs.ext.ReaderInterceptor interceptor) -
traceAfter
protected final void traceAfter(jakarta.ws.rs.ext.ReaderInterceptor interceptor) -
getReader
protected jakarta.ws.rs.ext.MessageBodyReader getReader() -
resolveReader
protected abstract jakarta.ws.rs.ext.MessageBodyReader resolveReader(jakarta.ws.rs.core.MediaType mediaType) -
throwReaderNotFound
protected abstract void throwReaderNotFound() -
getInputStream
- Specified by:
getInputStream
in interfacejakarta.ws.rs.ext.ReaderInterceptorContext
-
setInputStream
- Specified by:
setInputStream
in interfacejakarta.ws.rs.ext.ReaderInterceptorContext
-
getHeaders
- Specified by:
getHeaders
in interfacejakarta.ws.rs.ext.ReaderInterceptorContext
-
getAnnotations
- Specified by:
getAnnotations
in interfacejakarta.ws.rs.ext.InterceptorContext
-
setAnnotations
- Specified by:
setAnnotations
in interfacejakarta.ws.rs.ext.InterceptorContext
-
getType
- Specified by:
getType
in interfacejakarta.ws.rs.ext.InterceptorContext
-
setType
- Specified by:
setType
in interfacejakarta.ws.rs.ext.InterceptorContext
-
getGenericType
- Specified by:
getGenericType
in interfacejakarta.ws.rs.ext.InterceptorContext
-
setGenericType
- Specified by:
setGenericType
in interfacejakarta.ws.rs.ext.InterceptorContext
-
getMediaType
public jakarta.ws.rs.core.MediaType getMediaType()- Specified by:
getMediaType
in interfacejakarta.ws.rs.ext.InterceptorContext
-
setMediaType
public void setMediaType(jakarta.ws.rs.core.MediaType mediaType) - Specified by:
setMediaType
in interfacejakarta.ws.rs.ext.InterceptorContext
-
getProcessedInterceptorCount
-