railo.commons.net
Class ResourceRequestEntity
java.lang.Object
railo.commons.net.ResourceRequestEntity
- All Implemented Interfaces:
- org.apache.commons.httpclient.methods.RequestEntity
public class ResourceRequestEntity
- extends Object
- implements org.apache.commons.httpclient.methods.RequestEntity
A RequestEntity that represents a Resource.
ResourceRequestEntity
public ResourceRequestEntity(Resource res,
String contentType)
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 out)
throws IOException
- Specified by:
writeRequest
in interface org.apache.commons.httpclient.methods.RequestEntity
- Throws:
IOException
Copyright © 2012 Railo