public abstract class HttpServiceContext
extends Object
implements ConnectionContext
ConnectionContext for use in the HttpService context.| Modifier | Constructor and Description |
|---|---|
protected |
HttpServiceContext(HttpHeadersFactory headersFactory,
HttpResponseFactory factory,
StreamingHttpResponseFactory streamingFactory,
BlockingStreamingHttpResponseFactory blockingFactory)
Create a new instance.
|
protected |
HttpServiceContext(HttpServiceContext other)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract HttpExecutionContext |
executionContext() |
protected HttpHeadersFactory |
headersFactory()
Returns the
HttpHeadersFactory associated with this HttpServiceContext. |
protected HttpResponseFactory |
responseFactory()
Returns the
HttpResponseFactory associated with this HttpServiceContext. |
protected BlockingStreamingHttpResponseFactory |
streamingBlockingResponseFactory()
Returns the
BlockingStreamingHttpResponseFactory associated with this HttpServiceContext. |
protected StreamingHttpResponseFactory |
streamingResponseFactory()
Returns the
StreamingHttpResponseFactory associated with this HttpServiceContext. |
protected HttpServiceContext(HttpHeadersFactory headersFactory, HttpResponseFactory factory, StreamingHttpResponseFactory streamingFactory, BlockingStreamingHttpResponseFactory blockingFactory)
headersFactory - The HttpHeadersFactory used for API conversionsfactory - The HttpResponseFactory used for API conversionsstreamingFactory - The StreamingHttpResponseFactory used for API conversionsblockingFactory - The BlockingStreamingHttpResponseFactory used for API conversionsprotected HttpServiceContext(HttpServiceContext other)
other - HttpServiceContext to copy from.public abstract HttpExecutionContext executionContext()
executionContext in interface ConnectionContextprotected final HttpHeadersFactory headersFactory()
HttpHeadersFactory associated with this HttpServiceContext.HttpHeadersFactory associated with this HttpServiceContext.protected final HttpResponseFactory responseFactory()
HttpResponseFactory associated with this HttpServiceContext.HttpResponseFactory associated with this HttpServiceContext.protected final StreamingHttpResponseFactory streamingResponseFactory()
StreamingHttpResponseFactory associated with this HttpServiceContext.StreamingHttpResponseFactory associated with this HttpServiceContext.protected final BlockingStreamingHttpResponseFactory streamingBlockingResponseFactory()
BlockingStreamingHttpResponseFactory associated with this HttpServiceContext.BlockingStreamingHttpResponseFactory associated with this HttpServiceContext.