Package org.apache.hc.core5.http.impl.io
Class HttpService.Builder
java.lang.Object
org.apache.hc.core5.http.impl.io.HttpService.Builder
- Enclosing class:
HttpService
Builder for
HttpService
.- Since:
- 5.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ConnectionReuseStrategy
private HttpProcessor
private HttpServerRequestHandler
private Http1StreamListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create a new HTTP service.withConnectionReuseStrategy
(ConnectionReuseStrategy connReuseStrategy) withHttp1StreamListener
(Http1StreamListener streamListener) withHttpProcessor
(HttpProcessor processor) withHttpServerRequestHandler
(HttpServerRequestHandler requestHandler)
-
Field Details
-
processor
-
requestHandler
-
connReuseStrategy
-
streamListener
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
withHttpProcessor
-
withHttpServerRequestHandler
-
withConnectionReuseStrategy
-
withHttp1StreamListener
-
build
Create a new HTTP service.- Since:
- 5.2
-