| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public int | Returns: The port to use when redirecting a request if a data constraint of confidential is required. Seeorg.mortbay.jetty.security.Constraint#getDataConstraint()
|
| public String | Returns: The schema to use when redirecting a request if a data constraint of confidential is required. Seeorg.mortbay.jetty.security.Constraint#getDataConstraint()
|
| public Object | |
| public int | Returns: Number of connections accepted by the server since statsReset() called. Undefined if setStatsOn(false).
|
| public long | Returns: Average duration in milliseconds of open connections since statsReset() called. Undefined if setStatsOn(false).
|
| public long | Returns: Maximum duration in milliseconds of an open connection since statsReset() called. Undefined if setStatsOn(false).
|
| public long | |
| public long | |
| public int | Returns: Number of connections currently open that were opened since statsReset() called. Undefined if setStatsOn(false).
|
| public int | Returns: Maximum number of connections opened simultaneously since statsReset() called. Undefined if setStatsOn(false).
|
| public int | |
| public int | Returns: Average number of requests per connection since statsReset() called. Undefined if setStatsOn(false).
|
| public int | Returns: Maximum number of requests per connection since statsReset() called. Undefined if setStatsOn(false).
|
| public int | |
| public int | |
| public String | |
| public int | Returns: The port to use when redirecting a request if a data constraint of integral is required. Seeorg.mortbay.jetty.security.Constraint#getDataConstraint()
|
| public String | Returns: The schema to use when redirecting a request if a data constraint of integral is required. Seeorg.mortbay.jetty.security.Constraint#getDataConstraint()
|
| public int | Returns: The actual port the connector is listening on or -1 if there is no port or the connector is not open.
|
| public int | |
| public int | |
| public String | |
| public int | |
| public int | |
| public int | Returns: Get the number of requests handled by this connector since last call of statsReset(). If setStatsOn(false) then this is undefined.
|
| public boolean | |
| public int | |
| public Server | |
| public boolean | |
| public long | |
| public boolean | Returns: true if the request is confidential. This normally means the https schema has been used.A request request)
|
| public boolean | Returns: true if the request is integral. This normally means the https schema has been used.A request request)
|
| public void | |
| public void | |
| public void | setHeaderBufferSize(int
The headerBufferSize to set. headerBufferSize)Set the size of the buffer to be used for request and response headers. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setRequestBufferSize(int
The requestBufferSize to set. requestBufferSize)Set the size of the content buffer for receiving requests. |
| public void | setResponseBufferSize(int
The responseBufferSize to set. responseBufferSize)Set the size of the content buffer for sending responses. |
| public void | |
| public void | |
| public void |
| close | back to summary |
|---|---|
| public void close() throws IOException | |
| customize | back to summary |
|---|---|
| public void customize(EndPoint endpoint, Request request) throws IOException Customize a request for an endpoint. Called on every request to allow customization of the request for the particular endpoint (eg security properties from a SSL connection). | |
| getConfidentialPort | back to summary |
|---|---|
public int getConfidentialPort()
| |
| getConfidentialScheme | back to summary |
|---|---|
public String getConfidentialScheme()
| |
| getConnection | back to summary |
|---|---|
public Object getConnection()
| |
| getConnections | back to summary |
|---|---|
public int getConnections()
| |
| getConnectionsDurationAve | back to summary |
|---|---|
public long getConnectionsDurationAve()
| |
| getConnectionsDurationMax | back to summary |
|---|---|
public long getConnectionsDurationMax()
| |
| getConnectionsDurationMin | back to summary |
|---|---|
public long getConnectionsDurationMin()
| |
| getConnectionsDurationTotal | back to summary |
|---|---|
public long getConnectionsDurationTotal()
| |
| getConnectionsOpen | back to summary |
|---|---|
public int getConnectionsOpen()
| |
| getConnectionsOpenMax | back to summary |
|---|---|
public int getConnectionsOpenMax()
| |
| getConnectionsOpenMin | back to summary |
|---|---|
public int getConnectionsOpenMin()
| |
| getConnectionsRequestsAve | back to summary |
|---|---|
public int getConnectionsRequestsAve()
| |
| getConnectionsRequestsMax | back to summary |
|---|---|
public int getConnectionsRequestsMax()
| |
| getConnectionsRequestsMin | back to summary |
|---|---|
public int getConnectionsRequestsMin()
| |
| getHeaderBufferSize | back to summary |
|---|---|
public int getHeaderBufferSize()
| |
| getHost | back to summary |
|---|---|
| public String getHost() | |
| getIntegralPort | back to summary |
|---|---|
public int getIntegralPort()
| |
| getIntegralScheme | back to summary |
|---|---|
public String getIntegralScheme()
| |
| getLocalPort | back to summary |
|---|---|
public int getLocalPort()
| |
| getLowResourceMaxIdleTime | back to summary |
|---|---|
| public int getLowResourceMaxIdleTime() | |
| getMaxIdleTime | back to summary |
|---|---|
| public int getMaxIdleTime() | |
| getName | back to summary |
|---|---|
public String getName()
| |
| getPort | back to summary |
|---|---|
public int getPort()
| |
| getRequestBufferSize | back to summary |
|---|---|
public int getRequestBufferSize()
| |
| getRequests | back to summary |
|---|---|
public int getRequests()
| |
| getResolveNames | back to summary |
|---|---|
public boolean getResolveNames()
| |
| getResponseBufferSize | back to summary |
|---|---|
public int getResponseBufferSize()
| |
| getServer | back to summary |
|---|---|
| public Server getServer() | |
| getStatsOn | back to summary |
|---|---|
public boolean getStatsOn()
| |
| getStatsOnMs | back to summary |
|---|---|
public long getStatsOnMs()
| |
| isConfidential | back to summary |
|---|---|
public boolean isConfidential(Request request)
| |
| isIntegral | back to summary |
|---|---|
public boolean isIntegral(Request request)
| |
| open | back to summary |
|---|---|
| public void open() throws IOException Opens the connector | |
| persist | back to summary |
|---|---|
| public void persist(EndPoint endpoint) throws IOException Persist an endpoint. Called after every request if the connection is to remain open. | |
| setHeaderBufferSize | back to summary |
|---|---|
| public void setHeaderBufferSize(int headerBufferSize) Set the size of the buffer to be used for request and response headers. An idle connection will at most have one buffer of this size allocated.
| |
| setHost | back to summary |
|---|---|
| public void setHost(String hostname) | |
| setLowResourceMaxIdleTime | back to summary |
|---|---|
| public void setLowResourceMaxIdleTime(int ms) | |
| setMaxIdleTime | back to summary |
|---|---|
| public void setMaxIdleTime(int ms) | |
| setPort | back to summary |
|---|---|
public void setPort(int port)
| |
| setRequestBufferSize | back to summary |
|---|---|
| public void setRequestBufferSize(int requestBufferSize) Set the size of the content buffer for receiving requests. These buffers are only used for active connections that have requests with bodies that will not fit within the header buffer.
| |
| setResponseBufferSize | back to summary |
|---|---|
| public void setResponseBufferSize(int responseBufferSize) Set the size of the content buffer for sending responses. These buffers are only used for active connections that are sending responses with bodies that will not fit within the header buffer.
| |
| setServer | back to summary |
|---|---|
| public void setServer(Server server) | |
| setStatsOn | back to summary |
|---|---|
| public void setStatsOn(boolean on) | |
| statsReset | back to summary |
|---|---|
| public void statsReset() Reset statistics. | |