Class ByteArrayOSRequestEntity
- java.lang.Object
-
- org.apache.http.entity.AbstractHttpEntity
-
- org.apache.http.entity.BasicHttpEntity
-
- microsoft.exchange.webservices.data.core.request.ByteArrayOSRequestEntity
-
- All Implemented Interfaces:
org.apache.http.HttpEntity
public class ByteArrayOSRequestEntity extends org.apache.http.entity.BasicHttpEntity
-
-
Constructor Summary
Constructors Constructor Description ByteArrayOSRequestEntity(OutputStream os)Constructor for ByteArrayOSRequestEntity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetContentLength()org.apache.http.HeadergetContentType()booleanisRepeatable()booleanisStreaming()voidwriteTo(OutputStream out)-
Methods inherited from class org.apache.http.entity.BasicHttpEntity
getContent, setContent, setContentLength
-
-
-
-
Constructor Detail
-
ByteArrayOSRequestEntity
public ByteArrayOSRequestEntity(OutputStream os)
Constructor for ByteArrayOSRequestEntity.
-
-
Method Detail
-
getContentLength
public long getContentLength()
- Specified by:
getContentLengthin interfaceorg.apache.http.HttpEntity- Overrides:
getContentLengthin classorg.apache.http.entity.BasicHttpEntity
-
getContentType
public org.apache.http.Header getContentType()
- Specified by:
getContentTypein interfaceorg.apache.http.HttpEntity- Overrides:
getContentTypein classorg.apache.http.entity.AbstractHttpEntity
-
isRepeatable
public boolean isRepeatable()
- Specified by:
isRepeatablein interfaceorg.apache.http.HttpEntity- Overrides:
isRepeatablein classorg.apache.http.entity.BasicHttpEntity
-
writeTo
public void writeTo(OutputStream out) throws IOException
- Specified by:
writeToin interfaceorg.apache.http.HttpEntity- Overrides:
writeToin classorg.apache.http.entity.BasicHttpEntity- Throws:
IOException
-
isStreaming
public boolean isStreaming()
- Specified by:
isStreamingin interfaceorg.apache.http.HttpEntity- Overrides:
isStreamingin classorg.apache.http.entity.BasicHttpEntity
-
-