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()
Connector
getAddress
in interface Connector
public void setAddress(InetAddress address)
Connector
setAddress
in interface Connector
address
- a network interface addresspublic int getPort()
Connector
public Connector.Type getType()
Connector
public boolean isReverse()
Connector
public static boolean isAJP(org.apache.catalina.connector.Connector connector)
connector
- a connectorpublic boolean isAvailable()
Connector
isAvailable
in interface Connector
public int getMaxThreads()
getMaxThreads
in interface Connector
public int getBusyThreads()
getBusyThreads
in interface Connector
public long getBytesSent()
getBytesSent
in interface Connector
public long getBytesReceived()
getBytesReceived
in interface Connector
public long getRequestCount()
getRequestCount
in interface Connector
protected 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.