Class AS2ClientConnection
java.lang.Object
org.apache.camel.component.as2.api.AS2ClientConnection
-
Constructor Summary
ConstructorsConstructorDescriptionAS2ClientConnection(String as2Version, String userAgent, String clientFqdn, String targetHostName, Integer targetPortNumber, Duration socketTimeout, Duration connectionTimeout, Integer connectionPoolMaxSize, Duration connectionPoolTtl, SSLContext sslContext, HostnameVerifier hostnameVerifier) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hc.core5.http.HttpResponsesend(org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.protocol.HttpCoreContext httpContext)
-
Constructor Details
-
AS2ClientConnection
public AS2ClientConnection(String as2Version, String userAgent, String clientFqdn, String targetHostName, Integer targetPortNumber, Duration socketTimeout, Duration connectionTimeout, Integer connectionPoolMaxSize, Duration connectionPoolTtl, SSLContext sslContext, HostnameVerifier hostnameVerifier) throws IOException - Throws:
IOException
-
-
Method Details
-
getAs2Version
-
getUserAgent
-
getClientFqdn
-
send
public org.apache.hc.core5.http.HttpResponse send(org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.protocol.HttpCoreContext httpContext) throws org.apache.hc.core5.http.HttpException, IOException, InterruptedException, ExecutionException, TimeoutException - Throws:
org.apache.hc.core5.http.HttpExceptionIOExceptionInterruptedExceptionExecutionExceptionTimeoutException
-