Class MultipartNoLengthCheckHttpEntity
java.lang.Object
no.digipost.api.client.internal.http.MultipartNoLengthCheckHttpEntity
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hc.core5.http.EntityDetails,org.apache.hc.core5.http.HttpEntity
public class MultipartNoLengthCheckHttpEntity
extends Object
implements org.apache.hc.core5.http.HttpEntity
-
Constructor Summary
ConstructorsConstructorDescriptionMultipartNoLengthCheckHttpEntity(org.apache.hc.core5.http.HttpEntity entity) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclose()longorg.apache.hc.core5.function.Supplier<List<? extends org.apache.hc.core5.http.Header>> booleanbooleanbooleanvoidwriteTo(OutputStream outputStream)
-
Constructor Details
-
MultipartNoLengthCheckHttpEntity
public MultipartNoLengthCheckHttpEntity(org.apache.hc.core5.http.HttpEntity entity)
-
-
Method Details
-
isRepeatable
public boolean isRepeatable()- Specified by:
isRepeatablein interfaceorg.apache.hc.core5.http.HttpEntity
-
isChunked
public boolean isChunked()- Specified by:
isChunkedin interfaceorg.apache.hc.core5.http.EntityDetails
-
getContentLength
public long getContentLength()- Specified by:
getContentLengthin interfaceorg.apache.hc.core5.http.EntityDetails
-
getContentType
- Specified by:
getContentTypein interfaceorg.apache.hc.core5.http.EntityDetails
-
getContentEncoding
- Specified by:
getContentEncodingin interfaceorg.apache.hc.core5.http.EntityDetails
-
getContent
- Specified by:
getContentin interfaceorg.apache.hc.core5.http.HttpEntity- Throws:
IOExceptionIllegalStateException
-
writeTo
- Specified by:
writeToin interfaceorg.apache.hc.core5.http.HttpEntity- Throws:
IOException
-
isStreaming
public boolean isStreaming()- Specified by:
isStreamingin interfaceorg.apache.hc.core5.http.HttpEntity
-
getTrailers
public org.apache.hc.core5.function.Supplier<List<? extends org.apache.hc.core5.http.Header>> getTrailers()- Specified by:
getTrailersin interfaceorg.apache.hc.core5.http.HttpEntity
-
getTrailerNames
- Specified by:
getTrailerNamesin interfaceorg.apache.hc.core5.http.EntityDetails
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-