public interface WebPushServerConfig
| Modifier and Type | Interface and Description |
|---|---|
static class |
WebPushServerConfig.Protocol |
| Modifier and Type | Field and Description |
|---|---|
static long |
MESSAGE_MAX_LOWER_BOUND |
| Modifier and Type | Method and Description |
|---|---|
File |
cert()
Returns the server certificate file.
|
String |
endpointHost()
The externally available host that this server is reachable by.
|
int |
endpointPort()
The externally available port that this server is reachable by.
|
String |
host()
The host that this server will bind to.
|
long |
messageMaxAge()
Returns the maximum age that a message will be stored for.
|
long |
messageMaxSize()
Returns the maximum size of a message that this server can handle.
|
String |
password()
The password for the private key.
|
int |
port()
The port that this server will bind to.
|
File |
privateKey()
Returns the server private key file.
|
WebPushServerConfig.Protocol |
protocol()
Returnes the
WebPushServerConfig.Protocol to use. |
long |
registrationMaxAge()
Returns the maximum age for a registration
|
long |
subscriptionMaxAge()
Returns the maximum age for a subscription.
|
boolean |
useEndpointTls()
Determins whether transport layer security is in use.
|
static final long MESSAGE_MAX_LOWER_BOUND
String host()
String the host.int port()
port the port.WebPushServerConfig.Protocol protocol()
WebPushServerConfig.Protocol to use.WebPushServerConfig.Protocol the protocol used for TLS application protocol negotiation.File privateKey()
File the servers private key file.boolean useEndpointTls()
true if transport layer security is in use.String password()
String[] password used for generating the server's private key.String endpointHost()
String the host.int endpointPort()
port the port.long registrationMaxAge()
long subscriptionMaxAge()
long messageMaxAge()
long messageMaxSize()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.