RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

org.jboss.resteasy.core.interception
Class MessageBodyReaderContextImpl

java.lang.Object
  extended by org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl
All Implemented Interfaces:
MessageBodyReaderContext
Direct Known Subclasses:
ClientMessageBodyReaderContext, ServerMessageBodyReaderContext

public abstract class MessageBodyReaderContextImpl
extends Object
implements MessageBodyReaderContext

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  Annotation[] annotations
           
protected  Type genericType
           
protected  javax.ws.rs.core.MultivaluedMap<String,String> headers
           
protected  int index
           
protected  InputStream inputStream
           
protected  MessageBodyReaderInterceptor[] interceptors
           
protected  javax.ws.rs.core.MediaType mediaType
           
protected  javax.ws.rs.ext.MessageBodyReader reader
           
protected  Class type
           
 
Constructor Summary
MessageBodyReaderContextImpl(MessageBodyReaderInterceptor[] interceptors, javax.ws.rs.ext.MessageBodyReader reader, Class type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> headers, InputStream inputStream)
           
 
Method Summary
 Annotation[] getAnnotations()
           
 Type getGenericType()
           
 javax.ws.rs.core.MultivaluedMap<String,String> getHeaders()
           
 InputStream getInputStream()
           
 javax.ws.rs.core.MediaType getMediaType()
           
 Class getType()
           
 Object proceed()
           
 void setAnnotations(Annotation[] annotations)
           
 void setGenericType(Type genericType)
           
 void setInputStream(InputStream inputStream)
           
 void setMediaType(javax.ws.rs.core.MediaType mediaType)
           
 void setType(Class type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.resteasy.spi.interception.MessageBodyReaderContext
getAttribute, removeAttribute, setAttribute
 

Field Detail

interceptors

protected MessageBodyReaderInterceptor[] interceptors

reader

protected javax.ws.rs.ext.MessageBodyReader reader

type

protected Class type

genericType

protected Type genericType

annotations

protected Annotation[] annotations

mediaType

protected javax.ws.rs.core.MediaType mediaType

headers

protected javax.ws.rs.core.MultivaluedMap<String,String> headers

inputStream

protected InputStream inputStream

index

protected int index
Constructor Detail

MessageBodyReaderContextImpl

public MessageBodyReaderContextImpl(MessageBodyReaderInterceptor[] interceptors,
                                    javax.ws.rs.ext.MessageBodyReader reader,
                                    Class type,
                                    Type genericType,
                                    Annotation[] annotations,
                                    javax.ws.rs.core.MediaType mediaType,
                                    javax.ws.rs.core.MultivaluedMap<String,String> headers,
                                    InputStream inputStream)
Method Detail

getType

public Class getType()
Specified by:
getType in interface MessageBodyReaderContext

setType

public void setType(Class type)
Specified by:
setType in interface MessageBodyReaderContext

getGenericType

public Type getGenericType()
Specified by:
getGenericType in interface MessageBodyReaderContext

setGenericType

public void setGenericType(Type genericType)
Specified by:
setGenericType in interface MessageBodyReaderContext

getAnnotations

public Annotation[] getAnnotations()
Specified by:
getAnnotations in interface MessageBodyReaderContext

setAnnotations

public void setAnnotations(Annotation[] annotations)
Specified by:
setAnnotations in interface MessageBodyReaderContext

getMediaType

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

setMediaType

public void setMediaType(javax.ws.rs.core.MediaType mediaType)
Specified by:
setMediaType in interface MessageBodyReaderContext

getHeaders

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

getInputStream

public InputStream getInputStream()
Specified by:
getInputStream in interface MessageBodyReaderContext

setInputStream

public void setInputStream(InputStream inputStream)
Specified by:
setInputStream in interface MessageBodyReaderContext

proceed

public Object proceed()
               throws IOException,
                      javax.ws.rs.WebApplicationException
Specified by:
proceed in interface MessageBodyReaderContext
Throws:
IOException
javax.ws.rs.WebApplicationException

RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.