public interface Jetty9ServerCustomizers
Modifier and Type | Interface and Description |
---|---|
static class |
Jetty9ServerCustomizers.AccessLog |
static class |
Jetty9ServerCustomizers.ForwardedRequest |
static class |
Jetty9ServerCustomizers.Gzip |
static class |
Jetty9ServerCustomizers.HideServerInfo |
static class |
Jetty9ServerCustomizers.NullSessionIdManager |
static class |
Jetty9ServerCustomizers.Pool
Deprecated.
|
static class |
Jetty9ServerCustomizers.RedirectToHostRoot |
Modifier and Type | Method and Description |
---|---|
static void |
accessLog(org.springframework.core.env.Environment environment,
org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container) |
static <T> Collection<T> |
connectorConnectionFactories(org.eclipse.jetty.server.Connector connector,
Class<T> ofType) |
static void |
forwardedRequest(org.springframework.core.env.Environment environment,
org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container) |
static void |
gzip(org.springframework.core.env.Environment environment,
org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container)
最后添加gzip.
|
static void |
hideServerInfo(org.springframework.core.env.Environment environment,
org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container) |
static org.springframework.boot.context.embedded.jetty.JettyEmbeddedServletContainerFactory |
jetty(org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container) |
static void |
nullSessionIdManager(org.springframework.core.env.Environment environment,
org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container) |
static void |
redirectRootDomainToHostRoot(org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container,
String host,
String root)
see:
http://stackoverflow.com/questions/3539143/redirect-non-www-version-of-domain-to-www-in-jetty
|
static <T> Collection<T> |
serverConnectionFactories(org.eclipse.jetty.server.Server server,
Class<T> ofType) |
static Collection<org.eclipse.jetty.server.ServerConnector> |
serverConnectors(org.eclipse.jetty.server.Server server) |
static <T> Collection<T> connectorConnectionFactories(org.eclipse.jetty.server.Connector connector, Class<T> ofType)
static <T> Collection<T> serverConnectionFactories(org.eclipse.jetty.server.Server server, Class<T> ofType)
static Collection<org.eclipse.jetty.server.ServerConnector> serverConnectors(org.eclipse.jetty.server.Server server)
static org.springframework.boot.context.embedded.jetty.JettyEmbeddedServletContainerFactory jetty(org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container)
static void redirectRootDomainToHostRoot(org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container, String host, String root)
container
- containerhost
- hostroot
- rootstatic void accessLog(org.springframework.core.env.Environment environment, org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container)
static void gzip(org.springframework.core.env.Environment environment, org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container)
environment
- environmentcontainer
- containerstatic void forwardedRequest(org.springframework.core.env.Environment environment, org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container)
static void hideServerInfo(org.springframework.core.env.Environment environment, org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container)
static void nullSessionIdManager(org.springframework.core.env.Environment environment, org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer container)
Copyright © 2017. All rights reserved.