public class HttpReconfigurator
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpReconfigurator.HTTPKeys
String keys for URI keys.
|
static class |
HttpReconfigurator.HTTPRequestTypes |
| Modifier and Type | Field and Description |
|---|---|
static ReconfigurationPacket.PacketType[] |
types
ClientReconfigurationPacket types handled. |
| Constructor and Description |
|---|
HttpReconfigurator(ReconfiguratorFunctions rcf,
java.net.InetSocketAddress sockAddr,
boolean ssl) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close server and workers gracefully.
|
static void |
closeAll()
To close all instances.
|
java.net.SocketAddress |
getListeningAddress() |
boolean |
isClosed() |
static void |
main(java.lang.String[] args) |
java.lang.String |
toString() |
public static final ReconfigurationPacket.PacketType[] types
ClientReconfigurationPacket types handled.public HttpReconfigurator(ReconfiguratorFunctions rcf, java.net.InetSocketAddress sockAddr, boolean ssl) throws java.security.cert.CertificateException, javax.net.ssl.SSLException, java.lang.InterruptedException
rcf - sockAddr - ssl - java.security.cert.CertificateExceptionjavax.net.ssl.SSLExceptionjava.lang.InterruptedExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.net.SocketAddress getListeningAddress()
public void close()
public boolean isClosed()
close().public static void closeAll()
public static void main(java.lang.String[] args)
throws java.security.cert.CertificateException,
javax.net.ssl.SSLException,
java.lang.InterruptedException
args - java.security.cert.CertificateExceptionjavax.net.ssl.SSLExceptionjava.lang.InterruptedException