Package org.wildfly.httpclient.common
Class HttpTargetContext
java.lang.Object
io.undertow.util.AbstractAttachable
org.wildfly.httpclient.common.HttpTargetContext
- All Implemented Interfaces:
Attachable
Http target context used by client side.
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionawaitSessionId(boolean required, AuthenticationConfiguration authConfig) voidgetHttpMarshallerFactory(ClientRequest request) intReturns the protocol version to be used by this target context.getUri()voidsendRequest(ClientRequest request, SSLContext sslContext, AuthenticationConfiguration authenticationConfiguration, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask) voidsendRequest(ClientRequest request, SSLContext sslContext, AuthenticationConfiguration authenticationConfiguration, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask, boolean allowNoContent) Methods inherited from class io.undertow.util.AbstractAttachable
addToAttachmentList, createAttachmentMap, getAttachment, getAttachmentList, putAttachment, removeAttachment
-
Method Details
-
getProtocolVersion
public int getProtocolVersion()Returns the protocol version to be used by this target context.- Returns:
- the protocol version
-
sendRequest
public void sendRequest(ClientRequest request, SSLContext sslContext, AuthenticationConfiguration authenticationConfiguration, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask) -
sendRequest
public void sendRequest(ClientRequest request, SSLContext sslContext, AuthenticationConfiguration authenticationConfiguration, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask, boolean allowNoContent) -
getHttpMarshallerFactory
-
getConnectionPool
-
getSessionId
-
getUri
-
clearSessionId
public void clearSessionId() -
awaitSessionId
-