public class EmptyRequestEntity extends Object implements org.apache.commons.httpclient.methods.RequestEntity, Entity3
Constructor and Description |
---|
EmptyRequestEntity(String contentType)
Constructor of the class
|
Modifier and Type | Method and Description |
---|---|
long |
contentLength() |
String |
contentType() |
long |
getContentLength() |
String |
getContentType() |
boolean |
isRepeatable() |
void |
writeRequest(OutputStream os) |
public EmptyRequestEntity(String contentType)
contentType
- public long getContentLength()
getContentLength
in interface org.apache.commons.httpclient.methods.RequestEntity
public String getContentType()
getContentType
in interface org.apache.commons.httpclient.methods.RequestEntity
public boolean isRepeatable()
isRepeatable
in interface org.apache.commons.httpclient.methods.RequestEntity
public void writeRequest(OutputStream os) throws IOException
writeRequest
in interface org.apache.commons.httpclient.methods.RequestEntity
IOException
public long contentLength()
contentLength
in interface Entity
public String contentType()
contentType
in interface Entity
Copyright © 2015 Lucee