railo.commons.net.http.httpclient4.entity
Class ByteArrayHttpEntity

java.lang.Object
  extended by org.apache.http.entity.AbstractHttpEntity
      extended by org.apache.http.entity.ByteArrayEntity
          extended by railo.commons.net.http.httpclient4.entity.ByteArrayHttpEntity
All Implemented Interfaces:
Cloneable, org.apache.http.HttpEntity, Entity, Entity4

public class ByteArrayHttpEntity
extends org.apache.http.entity.ByteArrayEntity
implements Entity4


Constructor Summary
ByteArrayHttpEntity(byte[] barr, String contentType)
           
 
Method Summary
 long contentLength()
           
 String contentType()
           
 
Methods inherited from class org.apache.http.entity.ByteArrayEntity
clone, getContent, getContentLength, isRepeatable, isStreaming, writeTo
 
Methods inherited from class org.apache.http.entity.AbstractHttpEntity
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.http.HttpEntity
consumeContent, getContent, getContentEncoding, getContentLength, getContentType, isChunked, isRepeatable, isStreaming, writeTo
 

Constructor Detail

ByteArrayHttpEntity

public ByteArrayHttpEntity(byte[] barr,
                           String contentType)
Method Detail

contentLength

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

contentType

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


Copyright © 2012 Railo