public class HttpRequestWrapper extends Object implements io.netty.handler.codec.http.HttpRequest
| 限定符和类型 | 字段和说明 |
|---|---|
private String |
context |
private org.zodiac.commons.model.network.HostAndPort |
hostAndPort |
private ProxyRuleOption |
httpProxy |
protected io.netty.handler.codec.http.HttpRequest |
httpRequest |
private String |
orgUri |
private String |
serverHostAndPort |
| 构造器和说明 |
|---|
HttpRequestWrapper(io.netty.handler.codec.http.HttpRequest httpRequest) |
| 限定符和类型 | 方法和说明 |
|---|---|
io.netty.handler.codec.DecoderResult |
decoderResult() |
String |
getContext() |
io.netty.handler.codec.DecoderResult |
getDecoderResult() |
org.zodiac.commons.model.network.HostAndPort |
getHostAndPort() |
ProxyRuleOption |
getHttpProxy() |
io.netty.handler.codec.http.HttpMethod |
getMethod() |
io.netty.handler.codec.http.HttpRequest |
getOrgHttpRequest() |
String |
getOrgUri() |
io.netty.handler.codec.http.HttpVersion |
getProtocolVersion() |
String |
getServerHostAndPort() |
String |
getUri() |
io.netty.handler.codec.http.HttpHeaders |
headers() |
io.netty.handler.codec.http.HttpMethod |
method() |
io.netty.handler.codec.http.HttpVersion |
protocolVersion() |
void |
setContext(String context) |
void |
setDecoderResult(io.netty.handler.codec.DecoderResult result) |
void |
setHostAndPort(org.zodiac.commons.model.network.HostAndPort hostAndPort) |
void |
setHttpProxy(ProxyRuleOption httpProxy) |
io.netty.handler.codec.http.HttpRequest |
setMethod(io.netty.handler.codec.http.HttpMethod method) |
void |
setOrgUri(String orgUri) |
io.netty.handler.codec.http.HttpRequest |
setProtocolVersion(io.netty.handler.codec.http.HttpVersion version) |
void |
setServerHostAndPort(String serverHostAndPort) |
io.netty.handler.codec.http.HttpRequest |
setUri(String uri) |
String |
uri() |
protected io.netty.handler.codec.http.HttpRequest httpRequest
private String context
private org.zodiac.commons.model.network.HostAndPort hostAndPort
private String serverHostAndPort
private ProxyRuleOption httpProxy
private String orgUri
public HttpRequestWrapper(io.netty.handler.codec.http.HttpRequest httpRequest)
public io.netty.handler.codec.http.HttpRequest getOrgHttpRequest()
public io.netty.handler.codec.http.HttpVersion getProtocolVersion()
getProtocolVersion 在接口中 io.netty.handler.codec.http.HttpMessagepublic io.netty.handler.codec.http.HttpVersion protocolVersion()
protocolVersion 在接口中 io.netty.handler.codec.http.HttpMessagepublic io.netty.handler.codec.http.HttpHeaders headers()
headers 在接口中 io.netty.handler.codec.http.HttpMessagepublic io.netty.handler.codec.DecoderResult getDecoderResult()
getDecoderResult 在接口中 io.netty.handler.codec.http.HttpObjectpublic io.netty.handler.codec.DecoderResult decoderResult()
decoderResult 在接口中 io.netty.handler.codec.DecoderResultProviderpublic void setDecoderResult(io.netty.handler.codec.DecoderResult result)
setDecoderResult 在接口中 io.netty.handler.codec.DecoderResultProviderpublic io.netty.handler.codec.http.HttpMethod getMethod()
getMethod 在接口中 io.netty.handler.codec.http.HttpRequestpublic io.netty.handler.codec.http.HttpMethod method()
method 在接口中 io.netty.handler.codec.http.HttpRequestpublic io.netty.handler.codec.http.HttpRequest setMethod(io.netty.handler.codec.http.HttpMethod method)
setMethod 在接口中 io.netty.handler.codec.http.HttpRequestpublic String getUri()
getUri 在接口中 io.netty.handler.codec.http.HttpRequestpublic String uri()
uri 在接口中 io.netty.handler.codec.http.HttpRequestpublic io.netty.handler.codec.http.HttpRequest setUri(String uri)
setUri 在接口中 io.netty.handler.codec.http.HttpRequestpublic io.netty.handler.codec.http.HttpRequest setProtocolVersion(io.netty.handler.codec.http.HttpVersion version)
setProtocolVersion 在接口中 io.netty.handler.codec.http.HttpMessagesetProtocolVersion 在接口中 io.netty.handler.codec.http.HttpRequestpublic String getContext()
public void setContext(String context)
public org.zodiac.commons.model.network.HostAndPort getHostAndPort()
public void setHostAndPort(org.zodiac.commons.model.network.HostAndPort hostAndPort)
public String getServerHostAndPort()
public void setServerHostAndPort(String serverHostAndPort)
public ProxyRuleOption getHttpProxy()
public void setHttpProxy(ProxyRuleOption httpProxy)
public String getOrgUri()
public void setOrgUri(String orgUri)
Copyright © 2022 Zodiac. All rights reserved.