Connector.Type| Modifier and Type | Field and Description |
|---|---|
protected org.apache.catalina.connector.Connector |
connector |
| Constructor and Description |
|---|
TomcatConnector(org.apache.catalina.connector.Connector connector)
Constructs a new CatalinaConnector wrapping the specified catalina connector.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
InetAddress |
getAddress()
Returns the address on which this connector operates
|
int |
getBusyThreads() |
long |
getBytesReceived() |
long |
getBytesSent() |
protected Object |
getConnectionHandler() |
int |
getMaxThreads() |
int |
getPort()
Returns the port on which this connector operates
|
protected Object |
getProtocolHandlerProperty(String property) |
long |
getRequestCount() |
protected org.apache.coyote.RequestGroupInfo |
getRequestGroupInfo() |
protected org.apache.coyote.RequestGroupInfo |
getRequestGroupInfo(Object connectionHandler) |
Connector.Type |
getType()
Indicates the type of this connector
|
int |
hashCode() |
static boolean |
isAJP(org.apache.catalina.connector.Connector connector)
Indicates whether or not the specified connector use the AJP protocol.
|
boolean |
isAvailable()
Is this connector available for processing requests?
|
boolean |
isReverse()
Indicates whether the endpoint of this connector uses a reverse connection to httpd.
|
void |
setAddress(InetAddress address)
Sets the address on which this connector operates.
|
String |
toString() |
public TomcatConnector(org.apache.catalina.connector.Connector connector)
connector - the catalina connectorpublic InetAddress getAddress()
ConnectorgetAddress in interface Connectorpublic void setAddress(InetAddress address)
ConnectorsetAddress in interface Connectoraddress - a network interface addresspublic int getPort()
Connectorpublic Connector.Type getType()
Connectorpublic boolean isReverse()
Connectorpublic static boolean isAJP(org.apache.catalina.connector.Connector connector)
connector - a connectorpublic boolean isAvailable()
ConnectorisAvailable in interface Connectorpublic int getMaxThreads()
getMaxThreads in interface Connectorpublic int getBusyThreads()
getBusyThreads in interface Connectorpublic long getBytesSent()
getBytesSent in interface Connectorpublic long getBytesReceived()
getBytesReceived in interface Connectorpublic long getRequestCount()
getRequestCount in interface Connectorprotected Object getConnectionHandler()
protected org.apache.coyote.RequestGroupInfo getRequestGroupInfo()
protected org.apache.coyote.RequestGroupInfo getRequestGroupInfo(Object connectionHandler)
Copyright © 2023 JBoss by Red Hat. All rights reserved.