Uses of Interface
org.apache.hc.core5.http.protocol.HttpProcessor
-
Packages that use HttpProcessor Package Description org.apache.hc.core5.http.impl Default implementations of core HTTP APIs.org.apache.hc.core5.http.impl.bootstrap HTTP/1.1 requester and server bootstrap.org.apache.hc.core5.http.impl.io Default implementation of HTTP/1.1 transport based on the classic (blocking) I/O model.org.apache.hc.core5.http.impl.nio Default implementation of HTTP/1.1 transport based on the asynchronous (non-blocking) I/O model.org.apache.hc.core5.http.protocol Core HTTP protocol interceptors.org.apache.hc.core5.http2.impl Default implementations of core HTTP/2 APIs.org.apache.hc.core5.http2.impl.nio Default implementation of HTTP/2 transport based on the asynchronous (non-blocking) I/O model.org.apache.hc.core5.http2.impl.nio.bootstrap HTTP/2 capable requester and server bootstrap.org.apache.hc.core5.testing.classic org.apache.hc.core5.testing.nio -
-
Uses of HttpProcessor in org.apache.hc.core5.http.impl
Methods in org.apache.hc.core5.http.impl that return HttpProcessor Modifier and Type Method Description static HttpProcessor
HttpProcessors. client()
CreatesHttpProcessor
initialized with default protocol interceptors for client side HTTP/1.1 processing.static HttpProcessor
HttpProcessors. client(java.lang.String agentInfo)
CreatesHttpProcessor
initialized with default protocol interceptors for client side HTTP/1.1 processing.static HttpProcessor
HttpProcessors. server()
CreatesHttpProcessor
initialized with default protocol interceptors for server side HTTP/1.1 processing.static HttpProcessor
HttpProcessors. server(java.lang.String serverInfo)
CreatesHttpProcessor
initialized with default protocol interceptors for server side HTTP/1.1 processing. -
Uses of HttpProcessor in org.apache.hc.core5.http.impl.bootstrap
Fields in org.apache.hc.core5.http.impl.bootstrap declared as HttpProcessor Modifier and Type Field Description private HttpProcessor
AsyncRequesterBootstrap. httpProcessor
private HttpProcessor
AsyncServerBootstrap. httpProcessor
private HttpProcessor
HttpRequester. httpProcessor
private HttpProcessor
RequesterBootstrap. httpProcessor
private HttpProcessor
ServerBootstrap. httpProcessor
Methods in org.apache.hc.core5.http.impl.bootstrap with parameters of type HttpProcessor Modifier and Type Method Description AsyncRequesterBootstrap
AsyncRequesterBootstrap. setHttpProcessor(HttpProcessor httpProcessor)
AssignsHttpProcessor
instance.AsyncServerBootstrap
AsyncServerBootstrap. setHttpProcessor(HttpProcessor httpProcessor)
AssignsHttpProcessor
instance.RequesterBootstrap
RequesterBootstrap. setHttpProcessor(HttpProcessor httpProcessor)
AssignsHttpProcessor
instance.ServerBootstrap
ServerBootstrap. setHttpProcessor(HttpProcessor httpProcessor)
AssignsHttpProcessor
instance.Constructors in org.apache.hc.core5.http.impl.bootstrap with parameters of type HttpProcessor Constructor Description HttpRequester(HttpRequestExecutor requestExecutor, HttpProcessor httpProcessor, ManagedConnPool<HttpHost,HttpClientConnection> connPool, SocketConfig socketConfig, HttpConnectionFactory<? extends HttpClientConnection> connectFactory, javax.net.ssl.SSLSocketFactory sslSocketFactory, Callback<javax.net.ssl.SSLParameters> sslSetupHandler, SSLSessionVerifier sslSessionVerifier, Resolver<HttpHost,java.net.InetSocketAddress> addressResolver)
UseRequesterBootstrap
to create instances of this class. -
Uses of HttpProcessor in org.apache.hc.core5.http.impl.io
Fields in org.apache.hc.core5.http.impl.io declared as HttpProcessor Modifier and Type Field Description private HttpProcessor
HttpService.Builder. processor
private HttpProcessor
HttpService. processor
Methods in org.apache.hc.core5.http.impl.io with parameters of type HttpProcessor Modifier and Type Method Description void
HttpRequestExecutor. postProcess(ClassicHttpResponse response, HttpProcessor processor, HttpContext context)
Post-processes the given response using the given protocol processor and completes the process of request execution.void
HttpRequestExecutor. preProcess(ClassicHttpRequest request, HttpProcessor processor, HttpContext context)
Pre-process the given request using the given protocol processor and initiates the process of request execution.HttpService.Builder
HttpService.Builder. withHttpProcessor(HttpProcessor processor)
Constructors in org.apache.hc.core5.http.impl.io with parameters of type HttpProcessor Constructor Description HttpService(HttpProcessor processor, HttpRequestMapper<HttpRequestHandler> handlerMapper, ConnectionReuseStrategy connReuseStrategy, HttpResponseFactory<ClassicHttpResponse> responseFactory)
Create a new HTTP service.HttpService(HttpProcessor processor, HttpRequestMapper<HttpRequestHandler> handlerMapper, ConnectionReuseStrategy connReuseStrategy, HttpResponseFactory<ClassicHttpResponse> responseFactory, Http1StreamListener streamListener)
Create a new HTTP service.HttpService(HttpProcessor processor, HttpServerRequestHandler requestHandler)
Create a new HTTP service.HttpService(HttpProcessor processor, HttpServerRequestHandler requestHandler, ConnectionReuseStrategy connReuseStrategy, Http1StreamListener streamListener)
Create a new HTTP service. -
Uses of HttpProcessor in org.apache.hc.core5.http.impl.nio
Fields in org.apache.hc.core5.http.impl.nio declared as HttpProcessor Modifier and Type Field Description private HttpProcessor
ClientHttp1StreamDuplexer. httpProcessor
private HttpProcessor
ClientHttp1StreamDuplexerFactory. httpProcessor
private HttpProcessor
ClientHttp1StreamHandler. httpProcessor
private HttpProcessor
ServerHttp1StreamDuplexer. httpProcessor
private HttpProcessor
ServerHttp1StreamDuplexerFactory. httpProcessor
private HttpProcessor
ServerHttp1StreamHandler. httpProcessor
-
Uses of HttpProcessor in org.apache.hc.core5.http.protocol
Classes in org.apache.hc.core5.http.protocol that implement HttpProcessor Modifier and Type Class Description class
DefaultHttpProcessor
Default immutable implementation ofHttpProcessor
.Methods in org.apache.hc.core5.http.protocol that return HttpProcessor Modifier and Type Method Description HttpProcessor
HttpProcessorBuilder. build()
-
Uses of HttpProcessor in org.apache.hc.core5.http2.impl
Methods in org.apache.hc.core5.http2.impl that return HttpProcessor Modifier and Type Method Description static HttpProcessor
H2Processors. client()
static HttpProcessor
H2Processors. client(java.lang.String agentInfo)
static HttpProcessor
H2Processors. server()
static HttpProcessor
H2Processors. server(java.lang.String serverInfo)
-
Uses of HttpProcessor in org.apache.hc.core5.http2.impl.nio
Fields in org.apache.hc.core5.http2.impl.nio declared as HttpProcessor Modifier and Type Field Description private HttpProcessor
AbstractH2StreamMultiplexer. httpProcessor
private HttpProcessor
ClientH2StreamHandler. httpProcessor
private HttpProcessor
ClientH2StreamMultiplexerFactory. httpProcessor
private HttpProcessor
ClientPushH2StreamHandler. httpProcessor
private HttpProcessor
ServerH2StreamHandler. httpProcessor
private HttpProcessor
ServerH2StreamMultiplexerFactory. httpProcessor
private HttpProcessor
ServerPushH2StreamHandler. httpProcessor
-
Uses of HttpProcessor in org.apache.hc.core5.http2.impl.nio.bootstrap
Fields in org.apache.hc.core5.http2.impl.nio.bootstrap declared as HttpProcessor Modifier and Type Field Description private HttpProcessor
H2MultiplexingRequesterBootstrap. httpProcessor
private HttpProcessor
H2RequesterBootstrap. httpProcessor
private HttpProcessor
H2ServerBootstrap. httpProcessor
Methods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type HttpProcessor Modifier and Type Method Description H2MultiplexingRequesterBootstrap
H2MultiplexingRequesterBootstrap. setHttpProcessor(HttpProcessor httpProcessor)
AssignsHttpProcessor
instance.H2RequesterBootstrap
H2RequesterBootstrap. setHttpProcessor(HttpProcessor httpProcessor)
AssignsHttpProcessor
instance.H2ServerBootstrap
H2ServerBootstrap. setHttpProcessor(HttpProcessor httpProcessor)
AssignsHttpProcessor
instance. -
Uses of HttpProcessor in org.apache.hc.core5.testing.classic
Methods in org.apache.hc.core5.testing.classic with parameters of type HttpProcessor Modifier and Type Method Description void
ClassicTestClient. start(HttpProcessor httpProcessor)
void
ClassicTestServer. start(Http1Config http1Config, HttpProcessor httpProcessor, Decorator<HttpServerRequestHandler> handlerDecorator)
-
Uses of HttpProcessor in org.apache.hc.core5.testing.nio
Fields in org.apache.hc.core5.testing.nio declared as HttpProcessor Modifier and Type Field Description private HttpProcessor
InternalClientHttp1EventHandlerFactory. httpProcessor
private HttpProcessor
InternalClientProtocolNegotiationStarter. httpProcessor
private HttpProcessor
InternalServerHttp1EventHandlerFactory. httpProcessor
private HttpProcessor
InternalServerProtocolNegotiationStarter. httpProcessor
Methods in org.apache.hc.core5.testing.nio with parameters of type HttpProcessor Modifier and Type Method Description protected ClientHttp1StreamDuplexer
InternalClientHttp1EventHandlerFactory. createClientHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpResponse> incomingMessageParser, NHttpMessageWriter<HttpRequest> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)
protected ServerHttp1StreamDuplexer
InternalServerHttp1EventHandlerFactory. createServerHttp1StreamDuplexer(ProtocolIOSession ioSession, HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, NHttpMessageParser<HttpRequest> incomingMessageParser, NHttpMessageWriter<HttpResponse> outgoingMessageWriter, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, Http1StreamListener streamListener)
void
H2TestClient. start(HttpProcessor httpProcessor, Http1Config http1Config)
void
H2TestClient. start(HttpProcessor httpProcessor, H2Config h2Config)
java.net.InetSocketAddress
H2TestServer. start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, Http1Config http1Config)
java.net.InetSocketAddress
H2TestServer. start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, H2Config h2Config)
void
Http1TestClient. start(HttpProcessor httpProcessor, Http1Config http1Config)
java.net.InetSocketAddress
Http1TestServer. start(HttpProcessor httpProcessor, Decorator<AsyncServerExchangeHandler> exchangeHandlerDecorator, Http1Config http1Config)
java.net.InetSocketAddress
Http1TestServer. start(HttpProcessor httpProcessor, Http1Config http1Config)
Constructors in org.apache.hc.core5.testing.nio with parameters of type HttpProcessor Constructor Description InternalClientHttp1EventHandlerFactory(HttpProcessor httpProcessor, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, javax.net.ssl.SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier)
InternalClientProtocolNegotiationStarter(HttpProcessor httpProcessor, HandlerFactory<AsyncPushConsumer> exchangeHandlerFactory, HttpVersionPolicy versionPolicy, H2Config h2Config, Http1Config http1Config, CharCodingConfig charCodingConfig, javax.net.ssl.SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier)
InternalServerHttp1EventHandlerFactory(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, Http1Config http1Config, CharCodingConfig charCodingConfig, ConnectionReuseStrategy connectionReuseStrategy, javax.net.ssl.SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier)
InternalServerProtocolNegotiationStarter(HttpProcessor httpProcessor, HandlerFactory<AsyncServerExchangeHandler> exchangeHandlerFactory, HttpVersionPolicy versionPolicy, H2Config h2Config, Http1Config http1Config, CharCodingConfig charCodingConfig, javax.net.ssl.SSLContext sslContext, SSLSessionInitializer sslSessionInitializer, SSLSessionVerifier sslSessionVerifier)
-