| Constructor and Description |
|---|
HttpAddress(java.lang.String host,
java.lang.Integer port,
io.netty.handler.codec.http.HttpVersion version,
boolean secure) |
HttpAddress(org.xbib.net.URL url,
io.netty.handler.codec.http.HttpVersion version) |
| Modifier and Type | Method and Description |
|---|---|
org.xbib.net.URL |
base() |
boolean |
equals(java.lang.Object object) |
java.net.InetSocketAddress |
getInetSocketAddress() |
io.netty.handler.codec.http.HttpVersion |
getVersion() |
int |
hashCode() |
static HttpAddress |
http1(java.lang.String host) |
static HttpAddress |
http1(java.lang.String host,
int port) |
static HttpAddress |
http1(org.xbib.net.URL url) |
static HttpAddress |
http2(java.lang.String host) |
static HttpAddress |
http2(java.lang.String host,
int port) |
static HttpAddress |
http2(org.xbib.net.URL url) |
boolean |
isSecure() |
static HttpAddress |
of(Request request) |
static HttpAddress |
of(org.xbib.net.URL url,
io.netty.handler.codec.http.HttpVersion httpVersion) |
static HttpAddress |
secureHttp1(java.lang.String host) |
static HttpAddress |
secureHttp1(java.lang.String host,
int port) |
java.lang.String |
toString() |
public HttpAddress(org.xbib.net.URL url,
io.netty.handler.codec.http.HttpVersion version)
public HttpAddress(java.lang.String host,
java.lang.Integer port,
io.netty.handler.codec.http.HttpVersion version,
boolean secure)
public static HttpAddress http1(java.lang.String host)
public static HttpAddress http1(java.lang.String host, int port)
public static HttpAddress secureHttp1(java.lang.String host)
public static HttpAddress secureHttp1(java.lang.String host, int port)
public static HttpAddress http2(java.lang.String host)
public static HttpAddress http2(java.lang.String host, int port)
public static HttpAddress http1(org.xbib.net.URL url)
public static HttpAddress http2(org.xbib.net.URL url)
public static HttpAddress of(Request request)
public static HttpAddress of(org.xbib.net.URL url, io.netty.handler.codec.http.HttpVersion httpVersion)
public java.net.InetSocketAddress getInetSocketAddress()
getInetSocketAddress in interface PoolKeypublic org.xbib.net.URL base()
public io.netty.handler.codec.http.HttpVersion getVersion()
public boolean isSecure()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object