microsoft.exchange.webservices.data.core.request
Class ByteArrayOSRequestEntity

java.lang.Object
  extended by org.apache.http.entity.AbstractHttpEntity
      extended by org.apache.http.entity.BasicHttpEntity
          extended by microsoft.exchange.webservices.data.core.request.ByteArrayOSRequestEntity
All Implemented Interfaces:
org.apache.http.HttpEntity

public class ByteArrayOSRequestEntity
extends org.apache.http.entity.BasicHttpEntity


Field Summary
 
Fields inherited from class org.apache.http.entity.AbstractHttpEntity
chunked, contentEncoding, contentType, OUTPUT_BUFFER_SIZE
 
Constructor Summary
ByteArrayOSRequestEntity(OutputStream os)
          Constructor for ByteArrayOSRequestEntity.
 
Method Summary
 long getContentLength()
           
 org.apache.http.Header getContentType()
           
 boolean isRepeatable()
           
 boolean isStreaming()
           
 void writeTo(OutputStream out)
           
 
Methods inherited from class org.apache.http.entity.BasicHttpEntity
getContent, setContent, setContentLength
 
Methods inherited from class org.apache.http.entity.AbstractHttpEntity
consumeContent, getContentEncoding, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ByteArrayOSRequestEntity

public ByteArrayOSRequestEntity(OutputStream os)
Constructor for ByteArrayOSRequestEntity.

Method Detail

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface org.apache.http.HttpEntity
Overrides:
getContentLength in class org.apache.http.entity.BasicHttpEntity

getContentType

public org.apache.http.Header getContentType()
Specified by:
getContentType in interface org.apache.http.HttpEntity
Overrides:
getContentType in class org.apache.http.entity.AbstractHttpEntity

isRepeatable

public boolean isRepeatable()
Specified by:
isRepeatable in interface org.apache.http.HttpEntity
Overrides:
isRepeatable in class org.apache.http.entity.BasicHttpEntity

writeTo

public void writeTo(OutputStream out)
             throws IOException
Specified by:
writeTo in interface org.apache.http.HttpEntity
Overrides:
writeTo in class org.apache.http.entity.BasicHttpEntity
Throws:
IOException

isStreaming

public boolean isStreaming()
Specified by:
isStreaming in interface org.apache.http.HttpEntity
Overrides:
isStreaming in class org.apache.http.entity.BasicHttpEntity


Copyright © 2012–2015 Microsoft. All rights reserved.