org.jboss.resteasy.core.interception
Class MessageBodyReaderContextImpl

java.lang.Object
  extended by org.jboss.resteasy.core.interception.MessageBodyReaderContextImpl
All Implemented Interfaces:
MessageBodyReaderContext

public class MessageBodyReaderContextImpl
extends java.lang.Object
implements MessageBodyReaderContext

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  java.lang.annotation.Annotation[] annotations
           
protected  java.lang.reflect.Type genericType
           
protected  MultivaluedMap<java.lang.String,java.lang.String> headers
           
protected  int index
           
protected  java.io.InputStream inputStream
           
protected  MessageBodyReaderInterceptor[] interceptors
           
protected  MediaType mediaType
           
protected  MessageBodyReader reader
           
protected  java.lang.Class type
           
 
Constructor Summary
MessageBodyReaderContextImpl(MessageBodyReaderInterceptor[] interceptors, MessageBodyReader reader, java.lang.Class type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MediaType mediaType, MultivaluedMap<java.lang.String,java.lang.String> headers, java.io.InputStream inputStream)
           
 
Method Summary
 java.lang.annotation.Annotation[] getAnnotations()
           
 java.lang.reflect.Type getGenericType()
           
 MultivaluedMap<java.lang.String,java.lang.String> getHeaders()
           
 java.io.InputStream getInputStream()
           
 MediaType getMediaType()
           
 java.lang.Class getType()
           
 java.lang.Object proceed()
           
 void setAnnotations(java.lang.annotation.Annotation[] annotations)
           
 void setGenericType(java.lang.reflect.Type genericType)
           
 void setInputStream(java.io.InputStream inputStream)
           
 void setMediaType(MediaType mediaType)
           
 void setType(java.lang.Class type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

interceptors

protected MessageBodyReaderInterceptor[] interceptors

reader

protected MessageBodyReader reader

type

protected java.lang.Class type

genericType

protected java.lang.reflect.Type genericType

annotations

protected java.lang.annotation.Annotation[] annotations

mediaType

protected MediaType mediaType

headers

protected MultivaluedMap<java.lang.String,java.lang.String> headers

inputStream

protected java.io.InputStream inputStream

index

protected int index
Constructor Detail

MessageBodyReaderContextImpl

public MessageBodyReaderContextImpl(MessageBodyReaderInterceptor[] interceptors,
                                    MessageBodyReader reader,
                                    java.lang.Class type,
                                    java.lang.reflect.Type genericType,
                                    java.lang.annotation.Annotation[] annotations,
                                    MediaType mediaType,
                                    MultivaluedMap<java.lang.String,java.lang.String> headers,
                                    java.io.InputStream inputStream)
Method Detail

getType

public java.lang.Class getType()
Specified by:
getType in interface MessageBodyReaderContext

setType

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

getGenericType

public java.lang.reflect.Type getGenericType()
Specified by:
getGenericType in interface MessageBodyReaderContext

setGenericType

public void setGenericType(java.lang.reflect.Type genericType)
Specified by:
setGenericType in interface MessageBodyReaderContext

getAnnotations

public java.lang.annotation.Annotation[] getAnnotations()
Specified by:
getAnnotations in interface MessageBodyReaderContext

setAnnotations

public void setAnnotations(java.lang.annotation.Annotation[] annotations)
Specified by:
setAnnotations in interface MessageBodyReaderContext

getMediaType

public MediaType getMediaType()
Specified by:
getMediaType in interface MessageBodyReaderContext

setMediaType

public void setMediaType(MediaType mediaType)
Specified by:
setMediaType in interface MessageBodyReaderContext

getHeaders

public MultivaluedMap<java.lang.String,java.lang.String> getHeaders()
Specified by:
getHeaders in interface MessageBodyReaderContext

getInputStream

public java.io.InputStream getInputStream()
Specified by:
getInputStream in interface MessageBodyReaderContext

setInputStream

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

proceed

public java.lang.Object proceed()
                         throws java.io.IOException,
                                WebApplicationException
Specified by:
proceed in interface MessageBodyReaderContext
Throws:
java.io.IOException
WebApplicationException


Copyright © 2009. All Rights Reserved.