org.jboss.resteasy.core.interception
Class MessageBodyReaderContextImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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)
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 © 2010. All Rights Reserved.