| 程序包 | 说明 |
|---|---|
| org.zodiac.server.proxy.impl |
| 限定符和类型 | 字段和说明 |
|---|---|
private ConnectionState |
ProxyConnection.currentState |
private ConnectionState |
ConnectionFlowStep.state |
| 限定符和类型 | 方法和说明 |
|---|---|
private ConnectionState |
ClientToProxyConnection.doReadHTTPInitial(HttpRequestWrapper httpRequest)
Reads an
HttpRequest. |
protected ConnectionState |
ProxyConnection.getCurrentState() |
(专用程序包) ConnectionState |
ConnectionFlowStep.getState() |
protected ConnectionState |
ClientToProxyConnection.readHTTPInitial(HttpRequestWrapper httpRequest)
Reading
|
protected ConnectionState |
ProxyToServerConnection.readHTTPInitial(io.netty.handler.codec.http.HttpResponse httpResponse) |
protected abstract ConnectionState |
HttpProxyConnection.readHTTPInitial(I httpObject)
Implement this to handle reading the initial object (e.g.
|
static ConnectionState |
ConnectionState.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ConnectionState[] |
ConnectionState.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
ProxyConnection.become(ConnectionState state)
Udpates the current state to the given value.
|
protected void |
ProxyToServerConnection.become(ConnectionState newState)
Lifecycle
|
protected boolean |
ProxyConnection.is(ConnectionState state)
Utility for checking current state.
|
protected boolean |
ClientToProxyConnection.serverConnectionFailed(ProxyToServerConnection serverConnection,
ConnectionState lastStateBeforeFailure,
Throwable cause)
If the
ProxyToServerConnection fails to complete its connection lifecycle successfully, this method is
called to let us know about it. |
| 构造器和说明 |
|---|
ConnectionFlowStep(ProxyConnection connection,
ConnectionState state)
Construct a new step in a connection flow.
|
HttpProxyConnection(ConnectionState initialState,
HttpProxyManager proxyManager,
String applicationName)
Construct a new ProxyConnection.
|
ProxyConnection(ConnectionState initialState,
ProxyManager proxyServer,
String applicationName)
Construct a new ProxyConnection.
|
Copyright © 2022 Zodiac. All rights reserved.