Package org.wildfly.httpclient.common
Class HttpTargetContext
- java.lang.Object
-
- io.undertow.util.AbstractAttachable
-
- org.wildfly.httpclient.common.HttpTargetContext
-
- All Implemented Interfaces:
io.undertow.util.Attachable
public class HttpTargetContext extends io.undertow.util.AbstractAttachable- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHttpTargetContext.HttpFailureHandlerstatic interfaceHttpTargetContext.HttpMarshallerstatic interfaceHttpTargetContext.HttpResultHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringawaitSessionId(boolean required, org.wildfly.security.auth.client.AuthenticationConfiguration authConfig)voidclearSessionId()org.jboss.marshalling.MarshallercreateMarshaller(org.jboss.marshalling.MarshallingConfiguration marshallingConfiguration)org.jboss.marshalling.UnmarshallercreateUnmarshaller(org.jboss.marshalling.MarshallingConfiguration marshallingConfiguration)HttpConnectionPoolgetConnectionPool()StringgetSessionId()URIgetUri()voidsendRequest(io.undertow.client.ClientRequest request, SSLContext sslContext, org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask)voidsendRequest(io.undertow.client.ClientRequest request, SSLContext sslContext, org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask, boolean allowNoContent)voidsendRequestInternal(HttpConnectionPool.ConnectionHandle connection, io.undertow.client.ClientRequest request, org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask, boolean allowNoContent, boolean retry, SSLContext sslContext, ClassLoader classLoader)
-
-
-
Method Detail
-
createUnmarshaller
public org.jboss.marshalling.Unmarshaller createUnmarshaller(org.jboss.marshalling.MarshallingConfiguration marshallingConfiguration) throws IOException- Throws:
IOException
-
createMarshaller
public org.jboss.marshalling.Marshaller createMarshaller(org.jboss.marshalling.MarshallingConfiguration marshallingConfiguration) throws IOException- Throws:
IOException
-
sendRequest
public void sendRequest(io.undertow.client.ClientRequest request, SSLContext sslContext, org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask)
-
sendRequest
public void sendRequest(io.undertow.client.ClientRequest request, SSLContext sslContext, org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask, boolean allowNoContent)
-
sendRequestInternal
public void sendRequestInternal(HttpConnectionPool.ConnectionHandle connection, io.undertow.client.ClientRequest request, org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask, boolean allowNoContent, boolean retry, SSLContext sslContext, ClassLoader classLoader)
-
getConnectionPool
public HttpConnectionPool getConnectionPool()
-
getSessionId
public String getSessionId()
-
getUri
public URI getUri()
-
clearSessionId
public void clearSessionId()
-
awaitSessionId
public String awaitSessionId(boolean required, org.wildfly.security.auth.client.AuthenticationConfiguration authConfig)
-
-