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