org.resteasy.plugins.client.httpclient
Class BodyRequestEntity

java.lang.Object
  extended by org.resteasy.plugins.client.httpclient.BodyRequestEntity
All Implemented Interfaces:
org.apache.commons.httpclient.methods.RequestEntity

public class BodyRequestEntity
extends java.lang.Object
implements org.apache.commons.httpclient.methods.RequestEntity

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
BodyRequestEntity(java.lang.Object object, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, MessageBodyParameterMarshaller marshaller, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders)
           
 
Method Summary
 long getContentLength()
           
 java.lang.String getContentType()
           
 boolean isRepeatable()
           
 void writeRequest(java.io.OutputStream outputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyRequestEntity

public BodyRequestEntity(java.lang.Object object,
                         java.lang.reflect.Type genericType,
                         java.lang.annotation.Annotation[] annotations,
                         MessageBodyParameterMarshaller marshaller,
                         javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders)
Method Detail

isRepeatable

public boolean isRepeatable()
Specified by:
isRepeatable in interface org.apache.commons.httpclient.methods.RequestEntity

writeRequest

public void writeRequest(java.io.OutputStream outputStream)
                  throws java.io.IOException
Specified by:
writeRequest in interface org.apache.commons.httpclient.methods.RequestEntity
Throws:
java.io.IOException

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface org.apache.commons.httpclient.methods.RequestEntity

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface org.apache.commons.httpclient.methods.RequestEntity


Copyright © 2008. All Rights Reserved.