public static final class HttpService.Builder extends Object
HttpService
.Modifier and Type | Method and Description |
---|---|
HttpService |
build()
Create a new HTTP service.
|
HttpService.Builder |
withConnectionReuseStrategy(ConnectionReuseStrategy connReuseStrategy) |
HttpService.Builder |
withHttp1Config(Http1Config http1Config) |
HttpService.Builder |
withHttp1StreamListener(Http1StreamListener streamListener) |
HttpService.Builder |
withHttpProcessor(HttpProcessor processor) |
HttpService.Builder |
withHttpServerRequestHandler(HttpServerRequestHandler requestHandler) |
public HttpService.Builder withHttpProcessor(HttpProcessor processor)
public HttpService.Builder withHttpServerRequestHandler(HttpServerRequestHandler requestHandler)
public HttpService.Builder withHttp1Config(Http1Config http1Config)
public HttpService.Builder withConnectionReuseStrategy(ConnectionReuseStrategy connReuseStrategy)
public HttpService.Builder withHttp1StreamListener(Http1StreamListener streamListener)
public HttpService build()
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.