public class ForwardedInfo extends Object implements Serializable
Forwarded
or
X-Forwarded-*
headers.Constructor and Description |
---|
ForwardedInfo() |
public String getProto()
http
or https
.public void setProto(String proto)
proto
- The protocol received by the reverse proxy to set,
either http
or https
.public String getBy()
public void setBy(String by)
by
- The interface where the request came in to the proxy server to set.public String getHost()
Host
request header field as received by the proxy.public void setHost(String host)
host
- The Host
request header field as received by
the proxy to set.public String getClient()
for
stanza
or the X-Forwarded-For
header.public void setClient(String client)
client
- The client that initiated the request and subsequent proxies
in a chain of proxies to set.Copyright © 2018 Clazzes.org. All rights reserved.