Package org.eclipse.jetty.ant.types
Class Connectors
java.lang.Object
org.eclipse.jetty.ant.types.Connectors
Specifies a jetty configuration
<connectors/>
element for Ant build file.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a connector to the list of connectors to deploy.Returns the list of known connectors to deploy.Gets the default list of connectors to deploy when no connectors were explicitly added to the list.
-
Constructor Details
-
Connectors
public Connectors()Default constructor. -
Connectors
public Connectors(int port, int maxIdleTime) Constructor.- Parameters:
port
- The port that the default connector will listen onmaxIdleTime
- The maximum idle time for the default connector
-
-
Method Details
-
add
Adds a connector to the list of connectors to deploy.- Parameters:
connector
- A connector to add to the list
-
getConnectors
Returns the list of known connectors to deploy.- Returns:
- The list of known connectors
-
getDefaultConnectors
Gets the default list of connectors to deploy when no connectors were explicitly added to the list.- Returns:
- The list of default connectors
-