Class AS2BHttpClientConnection
java.lang.Object
org.apache.camel.component.as2.api.io.AS2BHttpClientConnection
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hc.client5.http.io.ManagedHttpClientConnection,org.apache.hc.core5.http.HttpConnection,org.apache.hc.core5.http.io.BHttpConnection,org.apache.hc.core5.http.io.HttpClientConnection,org.apache.hc.core5.http.SocketModalCloseable,org.apache.hc.core5.io.ModalCloseable
public class AS2BHttpClientConnection
extends Object
implements org.apache.hc.client5.http.io.ManagedHttpClientConnection
-
Constructor Summary
ConstructorsConstructorDescriptionAS2BHttpClientConnection(org.apache.hc.client5.http.io.ManagedHttpClientConnection mc) -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()voidvoidclose()voidclose(org.apache.hc.core5.io.CloseMode closeMode) voidflush()org.apache.hc.core5.http.EndpointDetailsorg.apache.hc.core5.http.ProtocolVersionorg.apache.hc.core5.util.TimeoutbooleanbooleanisDataAvailable(org.apache.hc.core5.util.Timeout timeout) booleanisOpen()booleanisStale()voidvoidreceiveResponseEntity(org.apache.hc.core5.http.ClassicHttpResponse response) org.apache.hc.core5.http.ClassicHttpResponsevoidsendRequestEntity(org.apache.hc.core5.http.ClassicHttpRequest request) voidsendRequestHeader(org.apache.hc.core5.http.ClassicHttpRequest request) voidsetSocketTimeout(org.apache.hc.core5.util.Timeout timeout) voidterminateRequest(org.apache.hc.core5.http.ClassicHttpRequest request) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hc.client5.http.io.ManagedHttpClientConnection
bind
-
Constructor Details
-
AS2BHttpClientConnection
public AS2BHttpClientConnection(org.apache.hc.client5.http.io.ManagedHttpClientConnection mc)
-
-
Method Details
-
bind
- Specified by:
bindin interfaceorg.apache.hc.client5.http.io.ManagedHttpClientConnection- Throws:
IOException
-
getSocket
- Specified by:
getSocketin interfaceorg.apache.hc.client5.http.io.ManagedHttpClientConnection
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.hc.core5.http.HttpConnection- Throws:
IOException
-
getEndpointDetails
public org.apache.hc.core5.http.EndpointDetails getEndpointDetails()- Specified by:
getEndpointDetailsin interfaceorg.apache.hc.core5.http.HttpConnection
-
getLocalAddress
- Specified by:
getLocalAddressin interfaceorg.apache.hc.core5.http.HttpConnection
-
getRemoteAddress
- Specified by:
getRemoteAddressin interfaceorg.apache.hc.core5.http.HttpConnection
-
getProtocolVersion
public org.apache.hc.core5.http.ProtocolVersion getProtocolVersion()- Specified by:
getProtocolVersionin interfaceorg.apache.hc.core5.http.HttpConnection
-
getSSLSession
- Specified by:
getSSLSessionin interfaceorg.apache.hc.core5.http.HttpConnection- Specified by:
getSSLSessionin interfaceorg.apache.hc.client5.http.io.ManagedHttpClientConnection
-
isOpen
public boolean isOpen()- Specified by:
isOpenin interfaceorg.apache.hc.core5.http.HttpConnection
-
passivate
public void passivate()- Specified by:
passivatein interfaceorg.apache.hc.client5.http.io.ManagedHttpClientConnection
-
activate
public void activate()- Specified by:
activatein interfaceorg.apache.hc.client5.http.io.ManagedHttpClientConnection
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceorg.apache.hc.core5.http.io.HttpClientConnection
-
sendRequestHeader
public void sendRequestHeader(org.apache.hc.core5.http.ClassicHttpRequest request) throws org.apache.hc.core5.http.HttpException, IOException - Specified by:
sendRequestHeaderin interfaceorg.apache.hc.core5.http.io.HttpClientConnection- Throws:
org.apache.hc.core5.http.HttpExceptionIOException
-
terminateRequest
public void terminateRequest(org.apache.hc.core5.http.ClassicHttpRequest request) throws org.apache.hc.core5.http.HttpException, IOException - Specified by:
terminateRequestin interfaceorg.apache.hc.core5.http.io.HttpClientConnection- Throws:
org.apache.hc.core5.http.HttpExceptionIOException
-
sendRequestEntity
public void sendRequestEntity(org.apache.hc.core5.http.ClassicHttpRequest request) throws org.apache.hc.core5.http.HttpException, IOException - Specified by:
sendRequestEntityin interfaceorg.apache.hc.core5.http.io.HttpClientConnection- Throws:
org.apache.hc.core5.http.HttpExceptionIOException
-
receiveResponseHeader
public org.apache.hc.core5.http.ClassicHttpResponse receiveResponseHeader() throws org.apache.hc.core5.http.HttpException, IOException- Specified by:
receiveResponseHeaderin interfaceorg.apache.hc.core5.http.io.HttpClientConnection- Throws:
org.apache.hc.core5.http.HttpExceptionIOException
-
receiveResponseEntity
public void receiveResponseEntity(org.apache.hc.core5.http.ClassicHttpResponse response) throws org.apache.hc.core5.http.HttpException, IOException - Specified by:
receiveResponseEntityin interfaceorg.apache.hc.core5.http.io.HttpClientConnection- Throws:
org.apache.hc.core5.http.HttpExceptionIOException
-
isDataAvailable
- Specified by:
isDataAvailablein interfaceorg.apache.hc.core5.http.io.BHttpConnection- Throws:
IOException
-
isStale
- Specified by:
isStalein interfaceorg.apache.hc.core5.http.io.BHttpConnection- Throws:
IOException
-
flush
- Specified by:
flushin interfaceorg.apache.hc.core5.http.io.BHttpConnection- Throws:
IOException
-
getSocketTimeout
public org.apache.hc.core5.util.Timeout getSocketTimeout()- Specified by:
getSocketTimeoutin interfaceorg.apache.hc.core5.http.SocketModalCloseable
-
setSocketTimeout
public void setSocketTimeout(org.apache.hc.core5.util.Timeout timeout) - Specified by:
setSocketTimeoutin interfaceorg.apache.hc.core5.http.SocketModalCloseable
-
close
public void close(org.apache.hc.core5.io.CloseMode closeMode) - Specified by:
closein interfaceorg.apache.hc.core5.io.ModalCloseable
-