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 Details

    • tracingLogger

      protected RESTEasyTracingLogger tracingLogger
    • interceptors

      protected jakarta.ws.rs.ext.ReaderInterceptor[] interceptors
    • providerFactory

      protected ResteasyProviderFactory providerFactory
    • type

      protected Class type
    • genericType

      protected Type genericType
    • annotations

      protected Annotation[] annotations
    • mediaType

      protected jakarta.ws.rs.core.MediaType mediaType
    • headers

      protected jakarta.ws.rs.core.MultivaluedMap<String,String> headers
    • inputStream

      protected InputStream inputStream
    • index

      protected int index
  • Constructor Details

  • Method Details

    • proceed

      public Object proceed() throws IOException
      Specified by:
      proceed in interface jakarta.ws.rs.ext.ReaderInterceptorContext
      Throws:
      IOException
    • readFrom

      protected Object readFrom(jakarta.ws.rs.ext.MessageBodyReader reader) throws IOException
      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

      public InputStream getInputStream()
      Specified by:
      getInputStream in interface jakarta.ws.rs.ext.ReaderInterceptorContext
    • setInputStream

      public void setInputStream(InputStream is)
      Specified by:
      setInputStream in interface jakarta.ws.rs.ext.ReaderInterceptorContext
    • getHeaders

      public jakarta.ws.rs.core.MultivaluedMap<String,String> getHeaders()
      Specified by:
      getHeaders in interface jakarta.ws.rs.ext.ReaderInterceptorContext
    • getAnnotations

      public Annotation[] getAnnotations()
      Specified by:
      getAnnotations in interface jakarta.ws.rs.ext.InterceptorContext
    • setAnnotations

      public void setAnnotations(Annotation[] annotations)
      Specified by:
      setAnnotations in interface jakarta.ws.rs.ext.InterceptorContext
    • getType

      public Class getType()
      Specified by:
      getType in interface jakarta.ws.rs.ext.InterceptorContext
    • setType

      public void setType(Class type)
      Specified by:
      setType in interface jakarta.ws.rs.ext.InterceptorContext
    • getGenericType

      public Type getGenericType()
      Specified by:
      getGenericType in interface jakarta.ws.rs.ext.InterceptorContext
    • setGenericType

      public void setGenericType(Type genericType)
      Specified by:
      setGenericType in interface jakarta.ws.rs.ext.InterceptorContext
    • getMediaType

      public jakarta.ws.rs.core.MediaType getMediaType()
      Specified by:
      getMediaType in interface jakarta.ws.rs.ext.InterceptorContext
    • setMediaType

      public void setMediaType(jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      setMediaType in interface jakarta.ws.rs.ext.InterceptorContext
    • getProcessedInterceptorCount

      public Object getProcessedInterceptorCount()