Apache CXF API

org.apache.cxf.jaxrs.impl
Class ReaderInterceptorContextImpl

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
      extended by org.apache.cxf.jaxrs.impl.AbstractInterceptorContextImpl
          extended by org.apache.cxf.jaxrs.impl.ReaderInterceptorContextImpl
All Implemented Interfaces:
javax.ws.rs.ext.InterceptorContext, javax.ws.rs.ext.ReaderInterceptorContext

public class ReaderInterceptorContextImpl
extends AbstractInterceptorContextImpl
implements javax.ws.rs.ext.ReaderInterceptorContext


Field Summary
 
Fields inherited from class org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
m
 
Constructor Summary
ReaderInterceptorContextImpl(Class<?> cls, Type type, Annotation[] anns, InputStream is, Message message, List<javax.ws.rs.ext.ReaderInterceptor> readers)
           
 
Method Summary
 javax.ws.rs.core.MultivaluedMap<String,String> getHeaders()
           
 InputStream getInputStream()
           
 javax.ws.rs.core.MediaType getMediaType()
           
 Object proceed()
           
 void setInputStream(InputStream stream)
           
 void setMediaType(javax.ws.rs.core.MediaType mt)
           
 
Methods inherited from class org.apache.cxf.jaxrs.impl.AbstractInterceptorContextImpl
getAnnotations, getGenericType, getType, providerSelectionPropertyChanged, setAnnotations, setGenericType, setType
 
Methods inherited from class org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
getProperty, getPropertyNames, removeProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.ws.rs.ext.InterceptorContext
getAnnotations, getGenericType, getProperty, getPropertyNames, getType, removeProperty, setAnnotations, setGenericType, setProperty, setType
 

Constructor Detail

ReaderInterceptorContextImpl

public ReaderInterceptorContextImpl(Class<?> cls,
                                    Type type,
                                    Annotation[] anns,
                                    InputStream is,
                                    Message message,
                                    List<javax.ws.rs.ext.ReaderInterceptor> readers)
Method Detail

getHeaders

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

getInputStream

public InputStream getInputStream()
Specified by:
getInputStream in interface javax.ws.rs.ext.ReaderInterceptorContext

proceed

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

setInputStream

public void setInputStream(InputStream stream)
Specified by:
setInputStream in interface javax.ws.rs.ext.ReaderInterceptorContext

getMediaType

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

setMediaType

public void setMediaType(javax.ws.rs.core.MediaType mt)
Specified by:
setMediaType in interface javax.ws.rs.ext.InterceptorContext

Apache CXF API

Apache CXF