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() |
int |
getBusyThreads() |
long |
getBytesReceived() |
long |
getBytesSent() |
protected Object |
getConnectionHandler() |
int |
getMaxThreads() |
int |
getPort() |
protected Object |
getProtocolHandlerProperty(String property) |
long |
getRequestCount() |
protected org.apache.coyote.RequestGroupInfo |
getRequestGroupInfo() |
protected org.apache.coyote.RequestGroupInfo |
getRequestGroupInfo(Object connectionHandler) |
Connector.Type |
getType() |
int |
hashCode() |
static boolean |
isAJP(org.apache.catalina.connector.Connector connector)
Indicates whether or not the specified connector use the AJP protocol.
|
boolean |
isAvailable() |
boolean |
isReverse() |
void |
setAddress(InetAddress address) |
String |
toString() |
public TomcatConnector(org.apache.catalina.connector.Connector connector)
connector
- the catalina connectorpublic InetAddress getAddress()
getAddress
in interface Connector
public void setAddress(InetAddress address)
setAddress
in interface Connector
public Connector.Type getType()
public static boolean isAJP(org.apache.catalina.connector.Connector connector)
connector
- a connectorpublic boolean isAvailable()
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 © 2017 JBoss by Red Hat. All rights reserved.