public class HttpTargetContext extends AbstractAttachable
Modifier and Type | Class and Description |
---|---|
static interface |
HttpTargetContext.HttpFailureHandler |
static interface |
HttpTargetContext.HttpMarshaller |
static interface |
HttpTargetContext.HttpResultHandler |
addToAttachmentList, createAttachmentMap, getAttachment, getAttachmentList, putAttachment, removeAttachment
public Unmarshaller createUnmarshaller(MarshallingConfiguration marshallingConfiguration) throws IOException
IOException
public Marshaller createMarshaller(MarshallingConfiguration marshallingConfiguration) throws IOException
IOException
public void sendRequest(ClientRequest request, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask)
public void sendRequest(ClientRequest request, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask, boolean allowNoContent)
public void sendRequest(HttpConnectionPool.ConnectionHandle connection, ClientRequest request, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask)
public void sendRequestInternal(HttpConnectionPool.ConnectionHandle connection, ClientRequest request, HttpTargetContext.HttpMarshaller httpMarshaller, HttpTargetContext.HttpResultHandler httpResultHandler, HttpTargetContext.HttpFailureHandler failureHandler, ContentType expectedResponse, Runnable completedTask, boolean allowNoContent, boolean retry)
public HttpConnectionPool getConnectionPool()
public String getSessionId()
public URI getUri()
public void clearSessionId()
public String awaitSessionId(boolean required)
Copyright © 2017 JBoss by Red Hat. All rights reserved.