Class AxisRequestEntityImpl
java.lang.Object
org.apache.axis2.transport.http.impl.httpclient5.AxisRequestEntityImpl
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hc.core5.http.EntityDetails,org.apache.hc.core5.http.HttpEntity
This Request Entity is used by the HttpComponentsTransportSender. This wraps the
Axis2 message formatter object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longorg.apache.hc.core5.function.Supplier<List<? extends org.apache.hc.core5.http.Header>>booleanbooleanbooleanvoidwriteTo(OutputStream outputStream)
-
Constructor Details
-
AxisRequestEntityImpl
-
-
Method Details
-
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:
IOException
-
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
-
getContentLength
public long getContentLength()- Specified by:
getContentLengthin interfaceorg.apache.hc.core5.http.EntityDetails
-
isChunked
public boolean isChunked()- Specified by:
isChunkedin interfaceorg.apache.hc.core5.http.EntityDetails
-
isRepeatable
public boolean isRepeatable()- Specified by:
isRepeatablein 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
-