Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- allowCredentials() - Element in annotation interface io.micronaut.http.server.cors.CrossOrigin
- allowedHeaders() - Element in annotation interface io.micronaut.http.server.cors.CrossOrigin
- allowedMethods() - Element in annotation interface io.micronaut.http.server.cors.CrossOrigin
- allowedOrigins() - Element in annotation interface io.micronaut.http.server.cors.CrossOrigin
- allowedOriginsRegex() - Element in annotation interface io.micronaut.http.server.cors.CrossOrigin
- ANY - Static variable in class io.micronaut.http.server.cors.CorsOriginConfiguration
-
Constant to represent any value.
- ANY_METHOD - Static variable in class io.micronaut.http.server.cors.CorsOriginConfiguration
-
Constant to represent any method.
- argumentType() - Method in class io.micronaut.http.server.binding.BasicAuthArgumentBinder
- argumentType() - Method in class io.micronaut.http.server.binding.LocaleArgumentBinder
- attach() - Method in class io.micronaut.http.server.types.files.SystemFile
-
Sets the file to be downloaded as an attachment.
- attach(String) - Method in class io.micronaut.http.server.types.files.StreamedFile
-
Sets the file to be downloaded as an attachment.
- attach(String) - Method in class io.micronaut.http.server.types.files.SystemFile
-
Sets the file to be downloaded as an attachment.
- ATTACHMENT_HEADER - Static variable in interface io.micronaut.http.server.types.files.FileCustomizableResponseType
-
Deprecated.Unused now, please follow RFC 6266
B
- BasicAuthArgumentBinder - Class in io.micronaut.http.server.binding
-
Responsible for binding to a
BasicAuthargument from the authorization header in the request. - BasicAuthArgumentBinder() - Constructor for class io.micronaut.http.server.binding.BasicAuthArgumentBinder
- bind(ArgumentConversionContext<BasicAuth>, HttpRequest<?>) - Method in class io.micronaut.http.server.binding.BasicAuthArgumentBinder
- bind(ArgumentConversionContext<Locale>, HttpRequest<?>) - Method in class io.micronaut.http.server.binding.LocaleArgumentBinder
- build() - Method in interface io.micronaut.http.server.exceptions.response.ErrorContext.Builder
-
Builds the context.
- builder(HttpRequest<?>) - Static method in interface io.micronaut.http.server.exceptions.response.ErrorContext
-
Create a new context builder.
C
- cause(Throwable) - Method in interface io.micronaut.http.server.exceptions.response.ErrorContext.Builder
-
Sets the root cause of the error(s).
- CompositeHttpLocaleResolver - Class in io.micronaut.http.server.util.locale
- CompositeHttpLocaleResolver(HttpLocaleResolver[], HttpLocaleResolutionConfiguration) - Constructor for class io.micronaut.http.server.util.locale.CompositeHttpLocaleResolver
- CONFIGURATION_QUALIFIER - Static variable in class io.micronaut.http.server.codec.TextStreamCodec
- ContentLengthExceededHandler - Class in io.micronaut.http.server.exceptions
-
Default handle for
ContentLengthExceededExceptionerrors. - ContentLengthExceededHandler(ErrorResponseProcessor<?>) - Constructor for class io.micronaut.http.server.exceptions.ContentLengthExceededHandler
-
Constructor.
- ConversionErrorHandler - Class in io.micronaut.http.server.exceptions
-
Handles exception of type
ConversionErrorException. - ConversionErrorHandler(ErrorResponseProcessor<?>) - Constructor for class io.micronaut.http.server.exceptions.ConversionErrorHandler
-
Constructor.
- convert(Map<String, Object>, Class<CorsOriginConfiguration>, ConversionContext) - Method in class io.micronaut.http.server.cors.CorsOriginConverter
- CookieLocaleResolver - Class in io.micronaut.http.server.util.locale
-
Resolves the Locale from a Cookie within an HTTP Request.
- CookieLocaleResolver(HttpLocaleResolutionConfiguration) - Constructor for class io.micronaut.http.server.util.locale.CookieLocaleResolver
- CoroutineHelper - Class in io.micronaut.http.server
-
Coroutines helper.
- corsConfiguration - Variable in class io.micronaut.http.server.cors.CorsFilter
- CorsConfiguration() - Constructor for class io.micronaut.http.server.HttpServerConfiguration.CorsConfiguration
- CorsFilter - Class in io.micronaut.http.server.cors
-
Responsible for handling CORS requests and responses.
- CorsFilter(HttpServerConfiguration.CorsConfiguration, HttpHostResolver) - Constructor for class io.micronaut.http.server.cors.CorsFilter
- CorsOriginConfiguration - Class in io.micronaut.http.server.cors
-
Stores configuration for CORS.
- CorsOriginConfiguration() - Constructor for class io.micronaut.http.server.cors.CorsOriginConfiguration
- CorsOriginConverter - Class in io.micronaut.http.server.cors
-
Responsible for converting a map of configuration to an instance of
CorsOriginConfiguration. - CorsOriginConverter() - Constructor for class io.micronaut.http.server.cors.CorsOriginConverter
- createDefaultErrorResponse(HttpRequest<?>, Throwable) - Method in class io.micronaut.http.server.RouteExecutor
-
Creates a default error response.
- CrossOrigin - Annotation Interface in io.micronaut.http.server.cors
-
Support CORs configuration via annotation.
- CrossOriginUtil - Class in io.micronaut.http.server.cors
-
Utility classes to work with
CrossOrigin. - CustomizableResponseType - Interface in io.micronaut.http.server.types
-
A type that needs special handling that may include modification of the response.
D
- decode(Argument<T>, InputStream) - Method in class io.micronaut.http.server.codec.TextStreamCodec
- decode(Class<T>, InputStream) - Method in class io.micronaut.http.server.codec.TextStreamCodec
- DEFAULT_DATEHEADER - Static variable in class io.micronaut.http.server.HttpServerConfiguration
-
The default date header.
- DEFAULT_DISK - Static variable in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
-
The default disk value.
- DEFAULT_DUAL_PROTOCOL - Static variable in class io.micronaut.http.server.HttpServerConfiguration
-
The default value for enabling dual protocol (http/https).
- DEFAULT_ENABLED - Static variable in class io.micronaut.http.server.HttpServerConfiguration.CorsConfiguration
- DEFAULT_ENABLED - Static variable in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
-
The default enable value.
- DEFAULT_HTTP_TO_HTTPS_REDIRECT - Static variable in class io.micronaut.http.server.HttpServerConfiguration
-
The default value for redirect HTTP to HTTPS when using dual protocal.
- DEFAULT_IDLE_TIME_MINUTES - Static variable in class io.micronaut.http.server.HttpServerConfiguration
-
The default idle time.
- DEFAULT_LOCALHOST_PASS_THROUGH - Static variable in class io.micronaut.http.server.HttpServerConfiguration.CorsConfiguration
- DEFAULT_LOG_HANDLED_EXCEPTIONS - Static variable in class io.micronaut.http.server.HttpServerConfiguration
-
The default value for log handled exceptions.
- DEFAULT_MAX_FILE_SIZE - Static variable in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
-
The default max file size.
- DEFAULT_MAX_REQUEST_SIZE - Static variable in class io.micronaut.http.server.HttpServerConfiguration
-
The default max request size.
- DEFAULT_MIXED - Static variable in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
-
The default mixed value.
- DEFAULT_PORT - Static variable in class io.micronaut.http.server.HttpServerConfiguration
-
The default port value.
- DEFAULT_RANDOM_PORT - Static variable in class io.micronaut.http.server.HttpServerConfiguration
-
The default value random port.
- DEFAULT_READ_IDLE_TIME_MINUTES - Static variable in class io.micronaut.http.server.HttpServerConfiguration
-
The default read idle time in minutes.
- DEFAULT_SINGLE_HEADER - Static variable in class io.micronaut.http.server.HttpServerConfiguration.CorsConfiguration
- DEFAULT_THRESHOLD - Static variable in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
-
The default threshold value.
- DEFAULT_WRITE_IDLE_TIME_MINUTES - Static variable in class io.micronaut.http.server.HttpServerConfiguration
-
The default write idle time in minutes.
- DefaultHttpClientAddressResolver - Class in io.micronaut.http.server.util
-
Default implementation of
HttpClientAddressResolver. - DefaultHttpClientAddressResolver(HttpServerConfiguration) - Constructor for class io.micronaut.http.server.util.DefaultHttpClientAddressResolver
- DefaultHttpHostResolver - Class in io.micronaut.http.server.util
-
Default implementation of
HttpHostResolver. - DefaultHttpHostResolver(HttpServerConfiguration, BeanProvider<EmbeddedServer>) - Constructor for class io.micronaut.http.server.util.DefaultHttpHostResolver
- DuplicateRouteHandler - Class in io.micronaut.http.server.exceptions
-
Handles exceptions of type
DuplicateRouteException. - DuplicateRouteHandler(ErrorResponseProcessor<?>) - Constructor for class io.micronaut.http.server.exceptions.DuplicateRouteHandler
-
Constructor.
E
- encode(T) - Method in class io.micronaut.http.server.codec.TextStreamCodec
- encode(T, ByteBufferFactory<?, B>) - Method in class io.micronaut.http.server.codec.TextStreamCodec
- encode(T, OutputStream) - Method in class io.micronaut.http.server.codec.TextStreamCodec
- error(Error) - Method in interface io.micronaut.http.server.exceptions.response.ErrorContext.Builder
-
Adds an error to the context.
- Error - Interface in io.micronaut.http.server.exceptions.response
-
Contains information about an error that occurred.
- ErrorContext - Interface in io.micronaut.http.server.exceptions.response
- ErrorContext.Builder - Interface in io.micronaut.http.server.exceptions.response
-
A builder for a
ErrorContext. - errorMessage(String) - Method in interface io.micronaut.http.server.exceptions.response.ErrorContext.Builder
-
Adds an error to the context for the given message.
- errorMessages(List<String>) - Method in interface io.micronaut.http.server.exceptions.response.ErrorContext.Builder
-
Adds errors to the context for the given messages.
- ErrorResponseProcessor<T> - Interface in io.micronaut.http.server.exceptions.response
-
Creates Http responses that represent errors.
- errors(List<Error>) - Method in interface io.micronaut.http.server.exceptions.response.ErrorContext.Builder
-
Adds the errors to the context.
- ExceptionHandler<T extends Throwable,
R> - Interface in io.micronaut.http.server.exceptions -
A generic hook for handling exceptions that occurs during the execution of an HTTP request.
- exposedHeaders() - Element in annotation interface io.micronaut.http.server.cors.CrossOrigin
F
- FileCustomizableResponseType - Interface in io.micronaut.http.server.types.files
-
A special type for file handling.
- filterRequest(HttpRequest<?>) - Method in class io.micronaut.http.server.cors.CorsFilter
- filterResponse(HttpRequest<?>, MutableHttpResponse<?>) - Method in class io.micronaut.http.server.cors.CorsFilter
- findFile() - Method in class io.micronaut.http.server.RequestLifecycle
-
Try to find a static file for this request.
- fulfillArgumentRequirementsAfterFilters(RouteMatch<?>, HttpRequest<?>) - Method in class io.micronaut.http.server.binding.RequestArgumentSatisfier
-
Attempt to satisfy the arguments of the given route with the data from the given request.
- fulfillArgumentRequirementsBeforeFilters(RouteMatch<?>, HttpRequest<?>) - Method in class io.micronaut.http.server.binding.RequestArgumentSatisfier
-
Attempt to satisfy the arguments of the given route with the data from the given request.
- fulfillArguments(RouteMatch<?>) - Method in class io.micronaut.http.server.RequestLifecycle
-
Fulfill the arguments of the given route with data from the request.
G
- getAllowedHeaders() - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
- getAllowedHosts() - Method in class io.micronaut.http.server.HttpServerConfiguration.HostResolutionConfiguration
- getAllowedMethods() - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
- getAllowedOrigins() - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
- getAllowedOriginsRegex() - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
- getApplicationConfiguration() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getBinderRegistry() - Method in class io.micronaut.http.server.binding.RequestArgumentSatisfier
- getBy() - Method in class io.micronaut.http.server.util.ProxyHeaderParser
- getClientAddressHeader() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getConfigurations() - Method in class io.micronaut.http.server.HttpServerConfiguration.CorsConfiguration
- getConfiguredHost(HttpRequest, HttpServerConfiguration.HostResolutionConfiguration) - Method in class io.micronaut.http.server.util.DefaultHttpHostResolver
- getConfiguredHost(HttpRequest, String, String, String, boolean) - Method in class io.micronaut.http.server.util.DefaultHttpHostResolver
- getContextPath() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getCookieName() - Method in class io.micronaut.http.server.HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties
- getCookieName() - Method in interface io.micronaut.http.server.util.locale.HttpLocaleResolutionConfiguration
- getCoroutineHelper() - Method in class io.micronaut.http.server.RouteExecutor
- getCors() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getCorsOriginConfigurationForRequest(HttpRequest<?>) - Static method in class io.micronaut.http.server.cors.CrossOriginUtil
- getDefaultCharset() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getDefaultHost(HttpRequest) - Method in class io.micronaut.http.server.util.DefaultHttpHostResolver
- getDefaultLocale() - Method in class io.micronaut.http.server.HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties
- getEmbeddedHost() - Method in class io.micronaut.http.server.util.DefaultHttpHostResolver
- getEnabled() - Method in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
-
The default multipart enabled setting is false for servlets, but effectively true for Netty.
- getErrorResponseProcessor() - Method in class io.micronaut.http.server.RouteExecutor
- getErrors() - Method in interface io.micronaut.http.server.exceptions.response.ErrorContext
- getExecutorSelector() - Method in class io.micronaut.http.server.RouteExecutor
- getExposedHeaders() - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
- getFile() - Method in class io.micronaut.http.server.types.files.SystemFile
- getFixed() - Method in class io.micronaut.http.server.HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties
- getFor() - Method in class io.micronaut.http.server.util.ProxyHeaderParser
- getHost() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getHost() - Method in class io.micronaut.http.server.util.ProxyHeaderParser
- getHostHeader() - Method in class io.micronaut.http.server.HttpServerConfiguration.HostResolutionConfiguration
- getHostResolution() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getHttpVersion() - Method in class io.micronaut.http.server.HttpServerConfiguration
-
The HTTP version to use.
- getIdleTimeout() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getInputStream() - Method in class io.micronaut.http.server.types.files.StreamedFile
- getLastModified() - Method in interface io.micronaut.http.server.types.files.FileCustomizableResponseType
- getLastModified() - Method in class io.micronaut.http.server.types.files.StreamedFile
- getLastModified() - Method in class io.micronaut.http.server.types.files.SystemFile
- getLength() - Method in interface io.micronaut.http.server.types.files.FileCustomizableResponseType
- getLength() - Method in class io.micronaut.http.server.types.files.StreamedFile
- getLength() - Method in class io.micronaut.http.server.types.files.SystemFile
- getLocale() - Method in class io.micronaut.http.server.util.locale.HttpLocalizedMessageSource
- getLocaleResolution() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getLocation() - Method in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
- getMaxAge() - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
- getMaxFileSize() - Method in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
- getMaxRequestSize() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getMediaType() - Method in class io.micronaut.http.server.types.files.StreamedFile
- getMediaType() - Method in class io.micronaut.http.server.types.files.SystemFile
- getMediaTypes() - Method in class io.micronaut.http.server.codec.TextStreamCodec
- getMessage() - Method in interface io.micronaut.http.server.exceptions.response.Error
- getMultipart() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getOrder() - Method in class io.micronaut.http.server.cors.CorsFilter
- getOrder() - Method in class io.micronaut.http.server.util.locale.HttpAbstractLocaleResolver
- getOrder() - Method in class io.micronaut.http.server.util.locale.HttpFixedLocaleResolver
- getOrder() - Method in class io.micronaut.http.server.util.locale.RequestLocaleResolver
- getPath() - Method in interface io.micronaut.http.server.exceptions.response.Error
- getPort() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getPort() - Method in class io.micronaut.http.server.util.ProxyHeaderParser
- getPortHeader() - Method in class io.micronaut.http.server.HttpServerConfiguration.HostResolutionConfiguration
- getProtocolHeader() - Method in class io.micronaut.http.server.HttpServerConfiguration.HostResolutionConfiguration
- getReadIdleTimeout() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getReadTimeout() - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Deprecated.This setting does nothing
- getRequest() - Method in interface io.micronaut.http.server.exceptions.response.ErrorContext
- getRequestArgumentSatisfier() - Method in class io.micronaut.http.server.RouteExecutor
- getRootCause() - Method in interface io.micronaut.http.server.exceptions.response.ErrorContext
- getRouter() - Method in class io.micronaut.http.server.RouteExecutor
- getScheme() - Method in class io.micronaut.http.server.util.ProxyHeaderParser
- getServerHeader() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getSessionAttribute() - Method in class io.micronaut.http.server.HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties
- getSessionAttribute() - Method in interface io.micronaut.http.server.util.locale.HttpLocaleResolutionConfiguration
- getThreadSelection() - Method in class io.micronaut.http.server.HttpServerConfiguration
- getThreshold() - Method in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
- getTitle() - Method in interface io.micronaut.http.server.exceptions.response.Error
- getWriteIdleTimeout() - Method in class io.micronaut.http.server.HttpServerConfiguration
H
- handle(HttpRequest, JsonSyntaxException) - Method in class io.micronaut.http.server.exceptions.JsonExceptionHandler
- handle(HttpRequest, UnsatisfiedArgumentException) - Method in class io.micronaut.http.server.exceptions.UnsatisfiedArgumentHandler
- handle(HttpRequest, ConversionErrorException) - Method in class io.micronaut.http.server.exceptions.ConversionErrorHandler
- handle(HttpRequest, ContentLengthExceededException) - Method in class io.micronaut.http.server.exceptions.ContentLengthExceededHandler
- handle(HttpRequest, HttpStatusException) - Method in class io.micronaut.http.server.exceptions.HttpStatusHandler
- handle(HttpRequest, DuplicateRouteException) - Method in class io.micronaut.http.server.exceptions.DuplicateRouteHandler
- handle(HttpRequest, UnsatisfiedRouteException) - Method in class io.micronaut.http.server.exceptions.UnsatisfiedRouteHandler
- handle(HttpRequest, URISyntaxException) - Method in class io.micronaut.http.server.exceptions.URISyntaxHandler
- handle(HttpRequest, T) - Method in interface io.micronaut.http.server.exceptions.ExceptionHandler
-
Handles an exception and returns the result.
- hasErrors() - Method in interface io.micronaut.http.server.exceptions.response.ErrorContext
- HateoasErrorResponseProcessor - Class in io.micronaut.http.server.exceptions.response
-
Creates Hateoas JSON error responses.
- HateoasErrorResponseProcessor(JsonConfiguration) - Constructor for class io.micronaut.http.server.exceptions.response.HateoasErrorResponseProcessor
- headersConfigured() - Method in class io.micronaut.http.server.HttpServerConfiguration.HostResolutionConfiguration
- HostResolutionConfiguration() - Constructor for class io.micronaut.http.server.HttpServerConfiguration.HostResolutionConfiguration
- HttpAbstractLocaleResolver - Class in io.micronaut.http.server.util.locale
-
Provides an abstract class which implements
LocaleResolverand handles default locale resolution. - HttpAbstractLocaleResolver(HttpLocaleResolutionConfiguration) - Constructor for class io.micronaut.http.server.util.locale.HttpAbstractLocaleResolver
- HttpClientAddressResolver - Interface in io.micronaut.http.server.util
-
Resolves the client IP address from the request.
- HttpFixedLocaleResolver - Class in io.micronaut.http.server.util.locale
-
Generic implementation of
LocaleResolverfor fixed locale resolution. - HttpFixedLocaleResolver(HttpLocaleResolutionConfiguration) - Constructor for class io.micronaut.http.server.util.locale.HttpFixedLocaleResolver
- HttpHostResolver - Interface in io.micronaut.http.server.util
-
Resolves the host name of the current server.
- httpLocaleResolutionConfiguration - Variable in class io.micronaut.http.server.util.locale.HttpAbstractLocaleResolver
- HttpLocaleResolutionConfiguration - Interface in io.micronaut.http.server.util.locale
-
Configuration for Locale Resolution in a HTTP Request.
- HttpLocaleResolutionConfigurationProperties() - Constructor for class io.micronaut.http.server.HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties
- HttpLocaleResolver - Interface in io.micronaut.http.server.util.locale
-
Responsible for determining the current locale from a request.
- HttpLocalizedMessageSource - Class in io.micronaut.http.server.util.locale
-
A
RequestScopewhich uses the currentHttpRequestto resolve the locale and hence return the localized messages. - HttpLocalizedMessageSource(LocaleResolver<HttpRequest<?>>, MessageSource) - Constructor for class io.micronaut.http.server.util.locale.HttpLocalizedMessageSource
- HttpServerConfiguration - Class in io.micronaut.http.server
-
A base
ConfigurationPropertiesfor servers. - HttpServerConfiguration() - Constructor for class io.micronaut.http.server.HttpServerConfiguration
-
Default constructor.
- HttpServerConfiguration(ApplicationConfiguration) - Constructor for class io.micronaut.http.server.HttpServerConfiguration
- HttpServerConfiguration.CorsConfiguration - Class in io.micronaut.http.server
-
Configuration for CORS.
- HttpServerConfiguration.HostResolutionConfiguration - Class in io.micronaut.http.server
-
Configuration for host resolution with the
HttpHostResolver. - HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties - Class in io.micronaut.http.server
-
Configuration for locale resolution used by
HttpLocaleResolver. - HttpServerConfiguration.MultipartConfiguration - Class in io.micronaut.http.server
-
Configuration for multipart handling.
- HttpServerException - Exception in io.micronaut.http.server.exceptions
-
Exceptions related to the HTTP server.
- HttpServerException(String) - Constructor for exception io.micronaut.http.server.exceptions.HttpServerException
- HttpServerException(String, Throwable) - Constructor for exception io.micronaut.http.server.exceptions.HttpServerException
- HttpStatusHandler - Class in io.micronaut.http.server.exceptions
-
Handles exception of type
HttpStatusException. - HttpStatusHandler(ErrorResponseProcessor<?>) - Constructor for class io.micronaut.http.server.exceptions.HttpStatusHandler
-
Constructor.
I
- InternalServerException - Exception in io.micronaut.http.server.exceptions
-
Thrown for an unrecoverable server exceptions.
- InternalServerException(String) - Constructor for exception io.micronaut.http.server.exceptions.InternalServerException
- InternalServerException(String, Throwable) - Constructor for exception io.micronaut.http.server.exceptions.InternalServerException
- io.micronaut.http.server - package io.micronaut.http.server
-
HTTP server configuration.
- io.micronaut.http.server.binding - package io.micronaut.http.server.binding
-
HTTP server request binding.
- io.micronaut.http.server.codec - package io.micronaut.http.server.codec
-
HTTP encoders.
- io.micronaut.http.server.cors - package io.micronaut.http.server.cors
-
Contains classes specific to CORS support within Micronaut.
- io.micronaut.http.server.exceptions - package io.micronaut.http.server.exceptions
-
HTTP server exceptions.
- io.micronaut.http.server.exceptions.response - package io.micronaut.http.server.exceptions.response
- io.micronaut.http.server.multipart - package io.micronaut.http.server.multipart
-
Classes related to multipart requests received by a server.
- io.micronaut.http.server.types - package io.micronaut.http.server.types
-
HTTP server customizable response type.
- io.micronaut.http.server.types.files - package io.micronaut.http.server.types.files
-
Special file type handlers.
- io.micronaut.http.server.util - package io.micronaut.http.server.util
-
Utilities used in the context of an HTTP server.
- io.micronaut.http.server.util.locale - package io.micronaut.http.server.util.locale
-
Micronaut's utilities to resolve a
Localefor an HTTP request. - io.micronaut.http.server.websocket - package io.micronaut.http.server.websocket
- isAllowCredentials() - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
- isDateHeader() - Method in class io.micronaut.http.server.HttpServerConfiguration
- isDisk() - Method in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
- isDualProtocol() - Method in class io.micronaut.http.server.HttpServerConfiguration
- isEnabled() - Method in class io.micronaut.http.server.HttpServerConfiguration.CorsConfiguration
- isEnabled() - Method in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
- isHeader() - Method in class io.micronaut.http.server.HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties
- isHeader() - Method in interface io.micronaut.http.server.util.locale.HttpLocaleResolutionConfiguration
- isHttpToHttpsRedirect() - Method in class io.micronaut.http.server.HttpServerConfiguration
- isLocalhostPassThrough() - Method in class io.micronaut.http.server.HttpServerConfiguration.CorsConfiguration
- isLogHandledExceptions() - Method in class io.micronaut.http.server.HttpServerConfiguration
- isMixed() - Method in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
- isPortInHost() - Method in class io.micronaut.http.server.HttpServerConfiguration.HostResolutionConfiguration
- isSingleHeader() - Method in class io.micronaut.http.server.HttpServerConfiguration.CorsConfiguration
J
- JacksonExceptionHandler - Class in io.micronaut.http.server.exceptions
-
Default exception handler for jackson processing errors.
- JacksonExceptionHandler(ErrorResponseProcessor<?>) - Constructor for class io.micronaut.http.server.exceptions.JacksonExceptionHandler
-
Constructor.
- JsonExceptionHandler - Class in io.micronaut.http.server.exceptions
-
Default exception handler for JSON processing errors.
- JsonExceptionHandler(ErrorResponseProcessor<?>) - Constructor for class io.micronaut.http.server.exceptions.JsonExceptionHandler
-
Constructor.
L
- LocaleArgumentBinder - Class in io.micronaut.http.server.binding
-
Binds
Localearguments in controller methods using theLocaleResolver. - LocaleArgumentBinder(HttpLocaleResolver) - Constructor for class io.micronaut.http.server.binding.LocaleArgumentBinder
M
- maxAge() - Element in annotation interface io.micronaut.http.server.cors.CrossOrigin
- MEMBER_ALLOW_CREDENTIALS - Static variable in class io.micronaut.http.server.cors.CrossOriginUtil
- MEMBER_ALLOWED_HEADERS - Static variable in class io.micronaut.http.server.cors.CrossOriginUtil
- MEMBER_ALLOWED_METHODS - Static variable in class io.micronaut.http.server.cors.CrossOriginUtil
- MEMBER_ALLOWED_ORIGINS - Static variable in class io.micronaut.http.server.cors.CrossOriginUtil
- MEMBER_ALLOWED_ORIGINS_REGEX - Static variable in class io.micronaut.http.server.cors.CrossOriginUtil
- MEMBER_EXPOSED_HEADERS - Static variable in class io.micronaut.http.server.cors.CrossOriginUtil
- MEMBER_MAX_AGE - Static variable in class io.micronaut.http.server.cors.CrossOriginUtil
- MultipartBody - Interface in io.micronaut.http.server.multipart
-
Represents the body of a multipart request that emits each part after it is received in its entirety.
- MultipartConfiguration() - Constructor for class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
- multipartEnabled(boolean) - Method in class io.micronaut.http.server.RequestLifecycle
N
- normalFlow() - Method in class io.micronaut.http.server.RequestLifecycle
-
Execute this request normally.
O
- onError(Throwable) - Method in class io.micronaut.http.server.RequestLifecycle
-
Handle an error in this request.
- onStatusError(MutableHttpResponse<?>, String) - Method in class io.micronaut.http.server.RequestLifecycle
-
Build a status response.
- ORDER - Static variable in class io.micronaut.http.server.util.locale.HttpAbstractLocaleResolver
- ORDER - Static variable in class io.micronaut.http.server.util.locale.HttpFixedLocaleResolver
- ORDER - Static variable in class io.micronaut.http.server.util.locale.RequestLocaleResolver
P
- PREFIX - Static variable in class io.micronaut.http.server.HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties
- PREFIX - Static variable in class io.micronaut.http.server.HttpServerConfiguration
-
The prefix used for configuration.
- process(MutableHttpResponse) - Method in class io.micronaut.http.server.types.files.SystemFile
- process(MutableHttpResponse<?>) - Method in interface io.micronaut.http.server.types.CustomizableResponseType
-
Modify the response before it is written to the client.
- process(MutableHttpResponse<?>) - Method in class io.micronaut.http.server.types.files.StreamedFile
- process(BeanDefinition<?>, ExecutableMethod<?, ?>) - Method in class io.micronaut.http.server.websocket.ServerWebSocketProcessor
- processResponse(ErrorContext, MutableHttpResponse<?>) - Method in interface io.micronaut.http.server.exceptions.response.ErrorResponseProcessor
-
Modifies the http response representing the error.
- processResponse(ErrorContext, MutableHttpResponse<?>) - Method in class io.micronaut.http.server.exceptions.response.HateoasErrorResponseProcessor
- ProxyHeaderParser - Class in io.micronaut.http.server.util
-
Responsible for parsing and returning the information stored in the standard and de facto standard proxy headers.
- ProxyHeaderParser(HttpRequest) - Constructor for class io.micronaut.http.server.util.ProxyHeaderParser
R
- request() - Method in class io.micronaut.http.server.RequestLifecycle
-
The request for this lifecycle.
- RequestArgumentSatisfier - Class in io.micronaut.http.server.binding
-
A class containing methods to aid in satisfying arguments of a
Route. - RequestArgumentSatisfier(RequestBinderRegistry) - Constructor for class io.micronaut.http.server.binding.RequestArgumentSatisfier
- RequestLifecycle - Class in io.micronaut.http.server
-
This class handles the full route processing lifecycle for a request.
- RequestLifecycle(RouteExecutor, HttpRequest<?>) - Constructor for class io.micronaut.http.server.RequestLifecycle
- RequestLocaleResolver - Class in io.micronaut.http.server.util.locale
-
A locale resolver which resolves the locale via
HttpRequest.getLocale(). - RequestLocaleResolver(HttpLocaleResolutionConfiguration) - Constructor for class io.micronaut.http.server.util.locale.RequestLocaleResolver
- resolve(HttpRequest) - Method in class io.micronaut.http.server.util.DefaultHttpClientAddressResolver
- resolve(HttpRequest) - Method in interface io.micronaut.http.server.util.HttpClientAddressResolver
- resolve(HttpRequest<?>) - Method in class io.micronaut.http.server.util.locale.CompositeHttpLocaleResolver
- resolve(HttpRequest<?>) - Method in class io.micronaut.http.server.util.locale.CookieLocaleResolver
- resolve(HttpRequest<?>) - Method in class io.micronaut.http.server.util.locale.RequestLocaleResolver
- resolve(HttpRequest) - Method in class io.micronaut.http.server.util.DefaultHttpHostResolver
- resolve(HttpRequest) - Method in interface io.micronaut.http.server.util.HttpHostResolver
-
Returns the host of the current server with protocol, host name, and an optional port.
- resolveDefaultResponseContentType(HttpRequest<?>, RouteInfo<?>) - Method in class io.micronaut.http.server.RouteExecutor
- RouteExecutor - Class in io.micronaut.http.server
-
A class responsible for executing routes.
- RouteExecutor(Router, BeanContext, RequestArgumentSatisfier, HttpServerConfiguration, ErrorResponseProcessor<?>, ExecutorSelector) - Constructor for class io.micronaut.http.server.RouteExecutor
-
Default constructor.
- runWithFilters(Supplier<ExecutionFlow<MutableHttpResponse<?>>>) - Method in class io.micronaut.http.server.RequestLifecycle
-
Run the filters for this request, and then run the given flow.
S
- ServerStartupException - Exception in io.micronaut.http.server.exceptions
-
An exception thrown on server startup.
- ServerStartupException(String) - Constructor for exception io.micronaut.http.server.exceptions.ServerStartupException
- ServerStartupException(String, Throwable) - Constructor for exception io.micronaut.http.server.exceptions.ServerStartupException
- ServerWebSocketProcessor - Class in io.micronaut.http.server.websocket
-
A processor that exposes WebSocket URIs via the router.
- setAllowCredentials(boolean) - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
-
Sets whether to allow credentials.
- setAllowCredentials(CorsOriginConfiguration, MutableHttpResponse<?>) - Method in class io.micronaut.http.server.cors.CorsFilter
- setAllowedHeaders(List<String>) - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
-
Sets the allowed headers.
- setAllowedHosts(List<String>) - Method in class io.micronaut.http.server.HttpServerConfiguration.HostResolutionConfiguration
- setAllowedMethods(List<HttpMethod>) - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
-
Sets the allowed methods.
- setAllowedOrigins(List<String>) - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
-
Sets the allowed origins.
- setAllowedOriginsRegex(String) - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
-
Sets a regular expression for matching Allowed Origins.
- setAllowHeaders(List<?>, MutableHttpResponse<?>) - Method in class io.micronaut.http.server.cors.CorsFilter
- setAllowMethods(HttpMethod, MutableHttpResponse<?>) - Method in class io.micronaut.http.server.cors.CorsFilter
- setClientAddressHeader(String) - Method in class io.micronaut.http.server.HttpServerConfiguration
- setConfigurations(Map<String, CorsOriginConfiguration>) - Method in class io.micronaut.http.server.HttpServerConfiguration.CorsConfiguration
-
Sets the CORS configurations.
- setContextPath(String) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets the context path for the web server.
- setCookieName(String) - Method in class io.micronaut.http.server.HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties
-
Sets the name of the cookie that is used to store the locale.
- setCors(HttpServerConfiguration.CorsConfiguration) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets the cors configuration.
- setDateHeader(boolean) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets whether a date header should be sent back.
- setDefaultCharset(Charset) - Method in class io.micronaut.http.server.HttpServerConfiguration
- setDefaultLocale(Locale) - Method in class io.micronaut.http.server.HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties
-
Sets the locale that will be used if the locale cannot be resolved through any means.
- setDisk(boolean) - Method in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
-
Sets whether to buffer data to disk or not.
- setDualProtocol(boolean) - Method in class io.micronaut.http.server.HttpServerConfiguration
- setEnabled(boolean) - Method in class io.micronaut.http.server.HttpServerConfiguration.CorsConfiguration
-
Sets whether CORS is enabled.
- setEnabled(boolean) - Method in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
-
Sets whether multipart processing is enabled.
- setExposedHeaders(List<String>) - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
-
Sets the exposed headers.
- setExposeHeaders(List<String>, MutableHttpResponse<?>) - Method in class io.micronaut.http.server.cors.CorsFilter
- setFixed(Locale) - Method in class io.micronaut.http.server.HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties
-
Set the language tag for the locale.
- setHeader(boolean) - Method in class io.micronaut.http.server.HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties
-
Set to true if the locale should be resolved from the `Accept-Language` header.
- setHost(String) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets the host to bind to.
- setHostHeader(String) - Method in class io.micronaut.http.server.HttpServerConfiguration.HostResolutionConfiguration
- setHostResolution(HttpServerConfiguration.HostResolutionConfiguration) - Method in class io.micronaut.http.server.HttpServerConfiguration
- setHttpToHttpsRedirect(boolean) - Method in class io.micronaut.http.server.HttpServerConfiguration
- setHttpVersion(HttpVersion) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets the HTTP version to use.
- setIdleTimeout(Duration) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets the idle time of connections for the server.
- setLocaleResolution(HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties) - Method in class io.micronaut.http.server.HttpServerConfiguration
- setLocalhostPassThrough(boolean) - Method in class io.micronaut.http.server.HttpServerConfiguration.CorsConfiguration
-
Sets whether localhost pass-through is enabled.
- setLocation(File) - Method in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
-
Sets the location to store files.
- setLogHandledExceptions(boolean) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets whether exceptions handled by either an error route or exception handler should still be logged.
- setMaxAge(long, MutableHttpResponse<?>) - Method in class io.micronaut.http.server.cors.CorsFilter
- setMaxAge(Long) - Method in class io.micronaut.http.server.cors.CorsOriginConfiguration
-
Sets the max age.
- setMaxFileSize(long) - Method in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
-
Sets the max file size.
- setMaxRequestSize(long) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets the maximum request size.
- setMixed(boolean) - Method in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
-
Sets whether to buffer data to disk if the size is greater than the threshold.
- setMultipart(HttpServerConfiguration.MultipartConfiguration) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets the multipart configuration.
- setOrigin(String, MutableHttpResponse<?>) - Method in class io.micronaut.http.server.cors.CorsFilter
- setPort(int) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets the port to bind to.
- setPortHeader(String) - Method in class io.micronaut.http.server.HttpServerConfiguration.HostResolutionConfiguration
- setPortInHost(boolean) - Method in class io.micronaut.http.server.HttpServerConfiguration.HostResolutionConfiguration
- setProtocolHeader(String) - Method in class io.micronaut.http.server.HttpServerConfiguration.HostResolutionConfiguration
- setReadIdleTimeout(Duration) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets the amount of time a connection can remain idle without any reads occurring.
- setReadTimeout(Integer) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Deprecated.This setting does nothing
- setRequest(HttpRequest<?>) - Method in class io.micronaut.http.server.util.locale.HttpLocalizedMessageSource
- setServerHeader(String) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets the name of the server header.
- setSessionAttribute(String) - Method in class io.micronaut.http.server.HttpServerConfiguration.HttpLocaleResolutionConfigurationProperties
-
Sets the key in the session to look for the locale.
- setSingleHeader(boolean) - Method in class io.micronaut.http.server.HttpServerConfiguration.CorsConfiguration
-
Sets whether CORS header values should be joined into a single header.
- setThreadSelection(ThreadSelection) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets the
ThreadSelectionmodel to use for the server. - setThreshold(long) - Method in class io.micronaut.http.server.HttpServerConfiguration.MultipartConfiguration
-
Sets the amount of data that should be received that will trigger the data to be stored to disk.
- setupCoroutineContext(HttpRequest<?>, ContextView, PropagatedContext) - Method in class io.micronaut.http.server.CoroutineHelper
- setVary(MutableHttpResponse<?>) - Method in class io.micronaut.http.server.cors.CorsFilter
- setWriteIdleTimeout(Duration) - Method in class io.micronaut.http.server.HttpServerConfiguration
-
Sets the amount of time a connection can remain idle without any writes occurring.
- shouldDenyToPreventDriveByLocalhostAttack(CorsOriginConfiguration, HttpRequest<?>) - Method in class io.micronaut.http.server.cors.CorsFilter
- shouldDenyToPreventDriveByLocalhostAttack(String, HttpRequest<?>) - Method in class io.micronaut.http.server.cors.CorsFilter
- StreamedFile - Class in io.micronaut.http.server.types.files
-
A special type for streaming an
InputStreamrepresenting a file or resource. - StreamedFile(InputStream, MediaType) - Constructor for class io.micronaut.http.server.types.files.StreamedFile
- StreamedFile(InputStream, MediaType, long) - Constructor for class io.micronaut.http.server.types.files.StreamedFile
- StreamedFile(InputStream, MediaType, long, long) - Constructor for class io.micronaut.http.server.types.files.StreamedFile
- StreamedFile(URL) - Constructor for class io.micronaut.http.server.types.files.StreamedFile
-
Immediately opens a connection to the given URL to retrieve data about the connection, including the input stream.
- SystemFile - Class in io.micronaut.http.server.types.files
-
Used as the return value of a route execution to send
Fileinstances to the client. - SystemFile(File) - Constructor for class io.micronaut.http.server.types.files.SystemFile
- SystemFile(File, MediaType) - Constructor for class io.micronaut.http.server.types.files.SystemFile
T
- TextStreamCodec - Class in io.micronaut.http.server.codec
-
A
MediaTypeCodecthat will encodeEventobjects in order to support Server Sent Events. - TextStreamCodec(ApplicationConfiguration, ByteBufferFactory, BeanProvider<MediaTypeCodecRegistry>, CodecConfiguration) - Constructor for class io.micronaut.http.server.codec.TextStreamCodec
- TextStreamCodec(Charset, ByteBufferFactory, BeanProvider<MediaTypeCodecRegistry>, CodecConfiguration) - Constructor for class io.micronaut.http.server.codec.TextStreamCodec
U
- UnsatisfiedArgumentHandler - Class in io.micronaut.http.server.exceptions
-
Handles exception of type
UnsatisfiedArgumentException. - UnsatisfiedArgumentHandler(ErrorResponseProcessor<?>) - Constructor for class io.micronaut.http.server.exceptions.UnsatisfiedArgumentHandler
-
Constructor.
- UnsatisfiedRouteHandler - Class in io.micronaut.http.server.exceptions
-
Handles exceptions of type
UnsatisfiedRouteException. - UnsatisfiedRouteHandler(ErrorResponseProcessor<?>) - Constructor for class io.micronaut.http.server.exceptions.UnsatisfiedRouteHandler
-
Constructor.
- URISyntaxHandler - Class in io.micronaut.http.server.exceptions
-
Handles exception of type
URISyntaxException. - URISyntaxHandler(ErrorResponseProcessor<?>) - Constructor for class io.micronaut.http.server.exceptions.URISyntaxHandler
-
Constructor.
V
- validateHost(String) - Method in class io.micronaut.http.server.util.DefaultHttpHostResolver
-
Validates the host transforming the host value if necessary.
- value() - Element in annotation interface io.micronaut.http.server.cors.CrossOrigin
W
- writeAttribute(ByteBuffer, byte[], String) - Method in class io.micronaut.http.server.codec.TextStreamCodec
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form