org.jboss.resteasy.spi.interception
Interface MessageBodyWriterContext

All Known Implementing Classes:
MessageBodyWriterContextImpl

public interface MessageBodyWriterContext

Version:
$Revision: 1 $
Author:
Bill Burke

Method Summary
 java.lang.annotation.Annotation[] getAnnotations()
           
 java.lang.Object getEntity()
           
 java.lang.reflect.Type getGenericType()
           
 MultivaluedMap<java.lang.String,java.lang.Object> getHeaders()
           
 MediaType getMediaType()
           
 java.io.OutputStream getOutputStream()
           
 java.lang.Class getType()
           
 void proceed()
           
 void setAnnotations(java.lang.annotation.Annotation[] annotations)
           
 void setEntity(java.lang.Object entity)
           
 void setGenericType(java.lang.reflect.Type genericType)
           
 void setMediaType(MediaType mediaType)
           
 void setOutputStream(java.io.OutputStream os)
           
 void setType(java.lang.Class type)
           
 

Method Detail

getEntity

java.lang.Object getEntity()

setEntity

void setEntity(java.lang.Object entity)

getType

java.lang.Class getType()

setType

void setType(java.lang.Class type)

getGenericType

java.lang.reflect.Type getGenericType()

setGenericType

void setGenericType(java.lang.reflect.Type genericType)

getAnnotations

java.lang.annotation.Annotation[] getAnnotations()

setAnnotations

void setAnnotations(java.lang.annotation.Annotation[] annotations)

getMediaType

MediaType getMediaType()

setMediaType

void setMediaType(MediaType mediaType)

getHeaders

MultivaluedMap<java.lang.String,java.lang.Object> getHeaders()

getOutputStream

java.io.OutputStream getOutputStream()

setOutputStream

void setOutputStream(java.io.OutputStream os)

proceed

void proceed()
             throws java.io.IOException,
                    WebApplicationException
Throws:
java.io.IOException
WebApplicationException


Copyright © 2010. All Rights Reserved.