org.wildfly.extras.creaper.commands.web
Class AddConnector.Builder

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.web.AddConnector.Builder
Enclosing class:
AddConnector

public static final class AddConnector.Builder
extends Object

Some details about the attributes can be found at http://wildscribe.github.io/JBoss%20EAP/6.2.0/subsystem/web/connector/index.html


Constructor Summary
AddConnector.Builder(String connectorName)
           
 
Method Summary
 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 secure(Boolean secure)
          Defines whether content sent or received by the connector is secured from the user perspective.
 AddConnector.Builder scheme(String scheme)
          Sets the web connector scheme.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddConnector.Builder

public AddConnector.Builder(String connectorName)
Method Detail

replaceExisting

public AddConnector.Builder replaceExisting()
Specify whether to replace the existing connector based on its name. By default existing connector is not replaced and exception is thrown.


enableLookups

public AddConnector.Builder enableLookups(Boolean enableLookups)
Enable/disable DNS lookups for Servlet API.


enabled

public AddConnector.Builder enabled(Boolean enable)
Defines whether the connector should be started on startup.


executor

public AddConnector.Builder executor(String executor)
Sets the name of the executor that should be used for the processing threads of this connector. If undefined, it defaults to using an internal pool.


maxConnections

public AddConnector.Builder maxConnections(Integer maxConnections)
Sets amount of concurrent connections that can be processed by the connector with optimum performance. The default value depends on the connector used.


maxPostSize

public AddConnector.Builder maxPostSize(Integer maxPostSize)
Sets maximum size in bytes of a POST request that can be parsed by the container.


maxSavePostSize

public AddConnector.Builder maxSavePostSize(Integer maxSavePostSize)
Sets maximum size in bytes of a POST request that will be saved during certain authentication schemes.


protocol

public AddConnector.Builder protocol(String protocol)
Sets the web connector protocol.


proxyBinding

public AddConnector.Builder proxyBinding(String proxyBinding)
Sets the socket binding to define the host and port that will be used when sending a redirect.


proxyName

public AddConnector.Builder proxyName(String proxyName)
Sets the host name that will be used when sending a redirect.


proxyPort

public AddConnector.Builder proxyPort(Integer proxyPort)
Sets the port that will be used when sending a redirect.


redirectBinding

public AddConnector.Builder redirectBinding(String redirectBinding)
Sets the socket binding to define the port for redirection to a secure connector.


redirectPort

public AddConnector.Builder redirectPort(Integer redirectPort)
Sets the port for redirection to a secure connector.


secure

public AddConnector.Builder secure(Boolean secure)
Defines whether content sent or received by the connector is secured from the user perspective.


scheme

public AddConnector.Builder scheme(String scheme)
Sets the web connector scheme.


socketBinding

public AddConnector.Builder socketBinding(String socketBinding)
Sets the web connector socket-binding reference, this connector should be bound to.


virtualServer

public AddConnector.Builder virtualServer(String... virtualServers)
Adds virtual servers to list of virtual servers that can be accessed through this connector. If none are defined, the default is to allow all virtual servers.


build

public AddConnector build()


Copyright © 2016. All rights reserved.