public class ExampleHttpContexts
extends java.lang.Object
Constructor and Description |
---|
ExampleHttpContexts() |
Modifier and Type | Method and Description |
---|---|
static HttpsConnectionContext |
exampleClientContext() |
static HttpsConnectionContext |
exampleServerContext() |
static HttpsConnectionContext |
getExampleServerContext() |
static java.security.cert.Certificate |
loadX509Certificate(java.lang.String resourceName) |
static ClientTransport |
proxyTransport(java.net.InetSocketAddress realAddress)
A client transport that will rewrite the target address to a fixed address.
|
static java.io.InputStream |
resourceStream(java.lang.String resourceName) |
public static HttpsConnectionContext getExampleServerContext()
public static HttpsConnectionContext exampleServerContext()
public static HttpsConnectionContext exampleClientContext()
public static java.io.InputStream resourceStream(java.lang.String resourceName)
public static java.security.cert.Certificate loadX509Certificate(java.lang.String resourceName)
public static ClientTransport proxyTransport(java.net.InetSocketAddress realAddress)
realAddress
- (undocumented)