Class MultipartNoLengthCheckHttpEntity
java.lang.Object
no.digipost.api.client.internal.http.MultipartNoLengthCheckHttpEntity
- All Implemented Interfaces:
org.apache.http.HttpEntity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.org.apache.http.Headerlongorg.apache.http.HeaderbooleanbooleanbooleanvoidwriteTo(OutputStream outputStream)
-
Constructor Details
-
MultipartNoLengthCheckHttpEntity
public MultipartNoLengthCheckHttpEntity(org.apache.http.HttpEntity entity)
-
-
Method Details
-
isRepeatable
public boolean isRepeatable()- Specified by:
isRepeatablein interfaceorg.apache.http.HttpEntity
-
isChunked
public boolean isChunked()- Specified by:
isChunkedin interfaceorg.apache.http.HttpEntity
-
getContentLength
public long getContentLength()- Specified by:
getContentLengthin interfaceorg.apache.http.HttpEntity
-
getContentType
public org.apache.http.Header getContentType()- Specified by:
getContentTypein interfaceorg.apache.http.HttpEntity
-
getContentEncoding
public org.apache.http.Header getContentEncoding()- Specified by:
getContentEncodingin interfaceorg.apache.http.HttpEntity
-
getContent
- Specified by:
getContentin interfaceorg.apache.http.HttpEntity- Throws:
IOExceptionIllegalStateException
-
writeTo
- Specified by:
writeToin interfaceorg.apache.http.HttpEntity- Throws:
IOException
-
isStreaming
public boolean isStreaming()- Specified by:
isStreamingin interfaceorg.apache.http.HttpEntity
-
consumeContent
Deprecated.- Specified by:
consumeContentin interfaceorg.apache.http.HttpEntity- Throws:
IOException
-