Package org.eclipse.jetty.ant.types
Class Connectors
- java.lang.Object
-
- org.eclipse.jetty.ant.types.Connectors
-
public class Connectors extends java.lang.Object
Specifies a jetty configuration<connectors/>
element for Ant build file.
-
-
Constructor Summary
Constructors Constructor Description Connectors()
Default constructor.Connectors(int port, int maxIdleTime)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Connector connector)
Adds a connector to the list of connectors to deploy.java.util.List<Connector>
getConnectors()
Returns the list of known connectors to deploy.java.util.List<Connector>
getDefaultConnectors()
Gets the default list of connectors to deploy when no connectors were explicitly added to the list.
-
-
-
Method Detail
-
add
public void add(Connector connector)
Adds a connector to the list of connectors to deploy.- Parameters:
connector
- A connector to add to the list
-
getConnectors
public java.util.List<Connector> getConnectors()
Returns the list of known connectors to deploy.- Returns:
- The list of known connectors
-
getDefaultConnectors
public java.util.List<Connector> getDefaultConnectors()
Gets the default list of connectors to deploy when no connectors were explicitly added to the list.- Returns:
- The list of default connectors
-
-