railo.commons.net.http.httpclient3.entity
Class EmptyRequestEntity

java.lang.Object
  extended by railo.commons.net.http.httpclient3.entity.EmptyRequestEntity
All Implemented Interfaces:
org.apache.commons.httpclient.methods.RequestEntity, Entity, Entity3

public class EmptyRequestEntity
extends Object
implements org.apache.commons.httpclient.methods.RequestEntity, Entity3


Constructor Summary
EmptyRequestEntity(String contentType)
          Constructor of the class
 
Method Summary
 long contentLength()
           
 String contentType()
           
 long getContentLength()
           
 String getContentType()
           
 boolean isRepeatable()
           
 void writeRequest(OutputStream os)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyRequestEntity

public EmptyRequestEntity(String contentType)
Constructor of the class

Parameters:
contentType -
Method Detail

getContentLength

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

getContentType

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

isRepeatable

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

writeRequest

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

contentLength

public long contentLength()
Specified by:
contentLength in interface Entity

contentType

public String contentType()
Specified by:
contentType in interface Entity


Copyright © 2012 Railo