@ConfigurationProperties(value="jetty")
@Primary
public class JettyConfiguration
extends io.micronaut.http.server.HttpServerConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
JettyConfiguration.JettySslConfiguration
The default connection pool configuration.
|
io.micronaut.http.server.HttpServerConfiguration.CorsConfiguration, io.micronaut.http.server.HttpServerConfiguration.HostResolutionConfiguration, io.micronaut.http.server.HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties, io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.jetty.server.HttpConfiguration |
httpConfiguration |
DEFAULT_DATEHEADER, DEFAULT_DUAL_PROTOCOL, DEFAULT_HTTP_TO_HTTPS_REDIRECT, DEFAULT_IDLE_TIME_MINUTES, DEFAULT_LOG_HANDLED_EXCEPTIONS, DEFAULT_MAX_REQUEST_SIZE, DEFAULT_PORT, DEFAULT_RANDOM_PORT, DEFAULT_READ_IDLE_TIME_MINUTES, DEFAULT_WRITE_IDLE_TIME_MINUTES, PREFIX
Constructor and Description |
---|
JettyConfiguration(io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration multipartConfiguration)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.jetty.server.HttpConfiguration |
getHttpConfiguration() |
java.util.Map<java.lang.String,java.lang.String> |
getInitParameters() |
java.util.Optional<io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration> |
getMultipartConfiguration() |
void |
setInitParameters(java.util.Map<java.lang.String,java.lang.String> initParameters)
Sets the servlet init parameters.
|
getApplicationConfiguration, getClientAddressHeader, getContextPath, getCors, getDefaultCharset, getHost, getHostResolution, getHttpVersion, getIdleTimeout, getLocaleResolution, getMaxRequestSize, getMultipart, getPort, getReadIdleTimeout, getReadTimeout, getServerHeader, getThreadSelection, getWriteIdleTimeout, isDateHeader, isDualProtocol, isHttpToHttpsRedirect, isLogHandledExceptions, setClientAddressHeader, setContextPath, setCors, setDateHeader, setDefaultCharset, setDualProtocol, setHost, setHostResolution, setHttpToHttpsRedirect, setHttpVersion, setIdleTimeout, setLocaleResolution, setLogHandledExceptions, setMaxRequestSize, setMultipart, setPort, setReadIdleTimeout, setReadTimeout, setServerHeader, setThreadSelection, setWriteIdleTimeout
@ConfigurationBuilder protected org.eclipse.jetty.server.HttpConfiguration httpConfiguration
public JettyConfiguration(@Nullable io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration multipartConfiguration)
multipartConfiguration
- The multipart configuration.public org.eclipse.jetty.server.HttpConfiguration getHttpConfiguration()
public java.util.Optional<io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration> getMultipartConfiguration()
public java.util.Map<java.lang.String,java.lang.String> getInitParameters()
public void setInitParameters(@MapFormat(transformation=FLAT,keyFormat=RAW) java.util.Map<java.lang.String,java.lang.String> initParameters)
initParameters
- The init parameters