public static final class AddConnector.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
AddConnector |
build() |
AddConnector.Builder |
enabled(Boolean enable)
Defines whether the connector should be started on startup.
|
AddConnector.Builder |
enableLookups(Boolean enableLookups)
Enable/disable DNS lookups for Servlet API.
|
AddConnector.Builder |
executor(String executor)
Sets the name of the executor that should be used for the processing threads of this connector.
|
AddConnector.Builder |
maxConnections(Integer maxConnections)
Sets amount of concurrent connections that can be processed by the connector with optimum performance.
|
AddConnector.Builder |
maxPostSize(Integer maxPostSize)
Sets maximum size in bytes of a POST request that can be parsed by the container.
|
AddConnector.Builder |
maxSavePostSize(Integer maxSavePostSize)
Sets maximum size in bytes of a POST request that will be saved during certain authentication schemes.
|
AddConnector.Builder |
protocol(String protocol)
Sets the web connector protocol.
|
AddConnector.Builder |
proxyBinding(String proxyBinding)
Sets the socket binding to define the host and port that will be used when sending a redirect.
|
AddConnector.Builder |
proxyName(String proxyName)
Sets the host name that will be used when sending a redirect.
|
AddConnector.Builder |
proxyPort(Integer proxyPort)
Sets the port that will be used when sending a redirect.
|
AddConnector.Builder |
redirectBinding(String redirectBinding)
Sets the socket binding to define the port for redirection to a secure connector.
|
AddConnector.Builder |
redirectPort(Integer redirectPort)
Sets the port for redirection to a secure connector.
|
AddConnector.Builder |
replaceExisting()
Specify whether to replace the existing connector based on its name.
|
AddConnector.Builder |
scheme(String scheme)
Sets the web connector scheme.
|
AddConnector.Builder |
secure(Boolean secure)
Defines whether content sent or received by the connector is secured from the user perspective.
|
AddConnector.Builder |
socketBinding(String socketBinding)
Sets the web connector socket-binding reference, this connector should be bound to.
|
AddConnector.Builder |
virtualServer(String... virtualServers)
Adds virtual servers to list of virtual servers that can be accessed through this connector.
|
public Builder(String connectorName)
public AddConnector.Builder replaceExisting()
public AddConnector.Builder enableLookups(Boolean enableLookups)
public AddConnector.Builder enabled(Boolean enable)
public AddConnector.Builder executor(String executor)
public AddConnector.Builder maxConnections(Integer maxConnections)
public AddConnector.Builder maxPostSize(Integer maxPostSize)
public AddConnector.Builder maxSavePostSize(Integer maxSavePostSize)
public AddConnector.Builder protocol(String protocol)
public AddConnector.Builder proxyBinding(String proxyBinding)
public AddConnector.Builder proxyName(String proxyName)
public AddConnector.Builder proxyPort(Integer proxyPort)
public AddConnector.Builder redirectBinding(String redirectBinding)
public AddConnector.Builder redirectPort(Integer redirectPort)
public AddConnector.Builder secure(Boolean secure)
public AddConnector.Builder scheme(String scheme)
public AddConnector.Builder socketBinding(String socketBinding)
public AddConnector.Builder virtualServer(String... virtualServers)
public AddConnector build()
Copyright © 2021. All rights reserved.