Package | Description |
---|---|
org.eclipse.jetty.server |
Jetty Server : Core Server API
|
org.eclipse.jetty.server.nio |
Jetty Server : Core Server Connector
|
org.eclipse.jetty.servlet |
Jetty Server : Modular Servlet Integration
|
Modifier and Type | Interface and Description |
---|---|
interface |
NetworkConnector
A
Connector for TCP/IP network connectors |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConnector
An abstract implementation of
Connector that provides a ConnectionFactory mechanism
for creating Connection instances for various protocols (HTTP, SSL, etc). |
class |
AbstractNetworkConnector
An abstract Network Connector.
|
class |
LocalConnector
A local connector, mostly for testing purposes.
|
class |
NetworkTrafficServerConnector
A specialized version of
ServerConnector that supports NetworkTrafficListener s. |
class |
ServerConnector
This
Connector implementation is the primary connector for the
Jetty server over TCP/IP. |
Modifier and Type | Field and Description |
---|---|
private Connector |
HttpConnection._connector |
private Connector |
ProxyConnectionFactory.ProxyProtocolV1orV2Connection._connector |
private Connector |
ProxyConnectionFactory.ProxyProtocolV1Connection._connector |
private Connector |
ProxyConnectionFactory.ProxyProtocolV2Connection._connector |
private Connector |
HttpChannel._connector |
private Connector[] |
LowResourceMonitor._monitoredConnectors |
private Connector |
NegotiatingServerConnection.connector |
private Connector |
OptionalSslConnectionFactory.OptionalSslConnection.connector |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Connector> |
Server._connectors |
Modifier and Type | Method and Description |
---|---|
Connector |
HttpConnection.getConnector() |
Connector |
NegotiatingServerConnection.getConnector() |
Connector |
HttpChannel.getConnector() |
Connector[] |
Server.getConnectors() |
protected Connector[] |
LowResourceMonitor.getMonitoredOrServerConnectors() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Connector> |
LowResourceMonitor.getMonitoredConnectors() |
Modifier and Type | Method and Description |
---|---|
void |
Server.addConnector(Connector connector) |
protected AbstractConnection |
AbstractConnectionFactory.configure(AbstractConnection connection,
Connector connector,
EndPoint endPoint) |
protected AbstractConnection |
SslConnectionFactory.configure(AbstractConnection connection,
Connector connector,
EndPoint endPoint) |
void |
SecureRequestCustomizer.customize(Connector connector,
HttpConfiguration channelConfig,
Request request) |
void |
HostHeaderCustomizer.customize(Connector connector,
HttpConfiguration channelConfig,
Request request) |
void |
ForwardedRequestCustomizer.customize(Connector connector,
HttpConfiguration config,
Request request) |
void |
HttpConfiguration.Customizer.customize(Connector connector,
HttpConfiguration channelConfig,
Request request) |
Connection |
HttpConnectionFactory.newConnection(Connector connector,
EndPoint endPoint) |
Connection |
SslConnectionFactory.newConnection(Connector connector,
EndPoint endPoint) |
Connection |
OptionalSslConnectionFactory.newConnection(Connector connector,
EndPoint endPoint) |
Connection |
ProxyConnectionFactory.newConnection(Connector connector,
EndPoint endp) |
Connection |
ConnectionFactory.newConnection(Connector connector,
EndPoint endPoint)
Creates a new
Connection with the given parameters |
Connection |
NegotiatingServerConnectionFactory.newConnection(Connector connector,
EndPoint endPoint) |
protected abstract AbstractConnection |
NegotiatingServerConnectionFactory.newServerConnection(Connector connector,
EndPoint endPoint,
javax.net.ssl.SSLEngine engine,
java.util.List<java.lang.String> protocols,
java.lang.String defaultProtocol) |
protected SslConnection |
SslConnectionFactory.newSslConnection(Connector connector,
EndPoint endPoint,
javax.net.ssl.SSLEngine engine) |
void |
Server.removeConnector(Connector connector)
Convenience method which calls
Server.getConnectors() and Server.setConnectors(Connector[]) to
remove a connector. |
void |
Server.setConnectors(Connector[] connectors)
Set the connectors for this server.
|
Connection |
ConnectionFactory.Upgrading.upgradeConnection(Connector connector,
EndPoint endPoint,
MetaData.Request upgradeRequest,
HttpFields responseFields)
Create a connection for an upgrade request.
|
Modifier and Type | Method and Description |
---|---|
void |
LowResourceMonitor.setMonitoredConnectors(java.util.Collection<Connector> monitoredConnectors) |
Constructor and Description |
---|
AcceptRateLimit(int limit,
long period,
java.util.concurrent.TimeUnit units,
Connector... connectors) |
ConnectionLimit(int maxConnections,
Connector... connectors) |
HttpChannel(Connector connector,
HttpConfiguration configuration,
EndPoint endPoint,
HttpTransport transport) |
HttpChannelOverHttp(HttpConnection httpConnection,
Connector connector,
HttpConfiguration config,
EndPoint endPoint,
HttpTransport transport) |
HttpConnection(HttpConfiguration config,
Connector connector,
EndPoint endPoint,
HttpCompliance compliance,
boolean recordComplianceViolations) |
NegotiatingServerConnection(Connector connector,
EndPoint endPoint,
javax.net.ssl.SSLEngine engine,
java.util.List<java.lang.String> protocols,
java.lang.String defaultProtocol) |
OptionalSslConnection(EndPoint endPoint,
Connector connector) |
ProxyProtocolV1Connection(EndPoint endp,
Connector connector,
java.lang.String next,
java.nio.ByteBuffer buffer) |
ProxyProtocolV1orV2Connection(EndPoint endp,
Connector connector,
java.lang.String next) |
ProxyProtocolV2Connection(EndPoint endp,
Connector connector,
java.lang.String next,
java.nio.ByteBuffer buffer) |
Modifier and Type | Class and Description |
---|---|
class |
NetworkTrafficSelectChannelConnector
Deprecated.
use
NetworkTrafficServerConnector instead. |
Modifier and Type | Field and Description |
---|---|
private Connector[] |
StatisticsServlet._connectors |