public interface JettyFactory
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jetty.server.Connector |
createConnector(org.eclipse.jetty.server.Server server,
String name,
int port,
Integer idleTimeout,
int httpSecurePort,
String host,
Boolean checkForwaredHeaders) |
org.eclipse.jetty.server.Connector |
createSecureConnector(org.eclipse.jetty.server.Server server,
String name,
int port,
Integer idleTimeout,
String sslKeystore,
String sslKeystorePassword,
String sslKeyPassword,
String host,
String sslKeystoreType,
String sslKeyAlias,
String trustStore,
String trustStorePassword,
String trustStoreType,
boolean isClientAuthNeeded,
boolean isClientAuthWanted,
List<String> cipherSuitesIncluded,
List<String> cipherSuitesExcluded,
List<String> protocolsIncluded,
List<String> protocolsExcluded,
Boolean sslRenegotiationAllowed,
String crlPath,
Boolean enableCRLDP,
Boolean validateCerts,
Boolean validatePeerCerts,
Boolean enableOCSP,
String ocspResponderURL,
Boolean checkForwaredHeaders)
Creates a secure (SSL) connector.
|
JettyServer |
createServer(Integer maxThreads,
Integer minThreads,
Integer threadIdleTimeout) |
JettyServer createServer(Integer maxThreads, Integer minThreads, Integer threadIdleTimeout)
org.eclipse.jetty.server.Connector createConnector(org.eclipse.jetty.server.Server server,
String name,
int port,
Integer idleTimeout,
int httpSecurePort,
String host,
Boolean checkForwaredHeaders)
org.eclipse.jetty.server.Connector createSecureConnector(org.eclipse.jetty.server.Server server,
String name,
int port,
Integer idleTimeout,
String sslKeystore,
String sslKeystorePassword,
String sslKeyPassword,
String host,
String sslKeystoreType,
String sslKeyAlias,
String trustStore,
String trustStorePassword,
String trustStoreType,
boolean isClientAuthNeeded,
boolean isClientAuthWanted,
List<String> cipherSuitesIncluded,
List<String> cipherSuitesExcluded,
List<String> protocolsIncluded,
List<String> protocolsExcluded,
Boolean sslRenegotiationAllowed,
String crlPath,
Boolean enableCRLDP,
Boolean validateCerts,
Boolean validatePeerCerts,
Boolean enableOCSP,
String ocspResponderURL,
Boolean checkForwaredHeaders)
name - the name to give to this connectorport - the port on which the secure port should runidleTimeout - the server connector idle timeoutsslKeystore - the path to the keystoresslKeystorePassword - the keystore passwordsslKeyPassword - the password of the server SSL/TLS private key entry in the key store.host - the address on which the secure port should listensslKeystoreType - the SSL/TLS key store type (e.g. jks, jceks, bks).sslKeyAlias - the alias of the server SSL/TLS private key entry in the key store.cipherSuitesIncluded - a list of regular expressions used to match excluded cipher suites.cipherSuitesExcluded - a list of regular expressions used to match included cipher suites.protocolsIncluded - list of SSL/TLS protocols that are acceptable.protocolsExcluded - list of SSL/TLS protocols that are not acceptable.sslRenegotiationAllowed - whether TLS renegotiation is allowed.crlPath - the CRL path.enableCRLDP - whether enable CRLDP.validateCerts - whether validate certs.validatePeerCerts - whether validate peer certs.enableOCSP - whether enable OCSP.ocspResponderURL - online OCSP responder URLCopyright © 2006–2021 OPS4J - Open Participation Software for Java. All rights reserved.