M
- manage(java.lang.Object) - function in org.eclipse.jetty.util.component.ContainerLifeCycle
- MANDATORY_EXTENSION - enum entry in io.javalin.websocket.WsCloseStatus
The client is terminating the connection because it expected the server to negotiate one or more extension, but the server didn't.
- MASTER_ONLY - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.CrossDomainPolicy
Only this master policy file is allowed.
- matchedPath() - function in io.javalin.http.Context
- Gets the path that was used to match request (also includes before/after paths)
- matchedPath() - function in io.javalin.http.servlet.JavalinServletContext
- Gets the path that was used to match request (also includes before/after paths)
- matchedPath() - function in io.javalin.websocket.WsContext
- Returns the path that was used to match this request
- matchedPath() - function in io.javalin.websocket.WsContext
- Returns the path that was used to match this request
- matches(java.lang.String) - function in io.javalin.router.ParsedEndpoint
- matches(java.lang.String) - function in io.javalin.router.matcher.PathParser
- matches(java.lang.String) - function in io.javalin.websocket.WsHandlerEntry
- mavenAndGradleSnippets(io.javalin.util.OptionalDependency) - function in io.javalin.util.DependencyUtil
- maxFileSize(java.lang.Long,io.javalin.config.SizeUnit) - function in io.javalin.config.MultipartConfig
- Sets the maximum file size for an individual file upload
- maxInMemoryFileSize(java.lang.Integer,io.javalin.config.SizeUnit) - function in io.javalin.config.MultipartConfig
- Sets the maximum size for a single file before it will be cached to disk rather than read in memory
- maxTotalRequestSize(java.lang.Long,io.javalin.config.SizeUnit) - function in io.javalin.config.MultipartConfig
- Sets the maximum size for the entire multipart request
- MB - enum entry in io.javalin.config.SizeUnit
- message() - function in io.javalin.websocket.WsCloseStatus
- message() - function in io.javalin.websocket.WsMessageContext
- Receive a string message from the client
- MESSAGE_TOO_BIG - enum entry in io.javalin.websocket.WsCloseStatus
The endpoint is terminating the connection because a data frame was received that is too large.
- messageAsClass() - function in io.javalin.websocket.WsMessageContext
- Reified version of messageAsClass (Kotlin only)
- messageAsClass(java.lang.Class) - function in io.javalin.websocket.WsMessageContext
- See Also: messageAsClass
- messageAsClass(java.lang.reflect.Type) - function in io.javalin.websocket.WsMessageContext
- Receive a message from the client as a class
- metadata(java.lang.Class) - function in io.javalin.router.Endpoint
- method() - function in io.javalin.http.Context
- Gets the request method.
- method() - function in io.javalin.http.servlet.JavalinServletContext
- Gets the request method.
- METHOD_NOT_ALLOWED - enum entry in io.javalin.http.HttpStatus
The request method is known by the server but is not supported by the target resource. For example, an API may not allow calling DELETE to remove a resource.
- MethodNotAllowedResponse - class in io.javalin.http
- MethodNotAllowedUtil - class in io.javalin.http.util
- MimeTypesConfig - class in io.javalin.http.staticfiles
- Configures static files Mime Types based on file extensions.
- minSizeForCompression(java.lang.Integer) - function in io.javalin.http.Context
- The output stream returned by outputStream() will use compression (as specified in Javalin configuration), but compression will happen only if the first write to the output stream is larger than
minSizeForCompression
. - minSizeForCompression(java.lang.Integer) - function in io.javalin.http.servlet.JavalinServletContext
- The output stream returned by outputStream() will use compression (as specified in Javalin configuration), but compression will happen only if the first write to the output stream is larger than
minSizeForCompression
. - MISDIRECTED_REQUEST - enum entry in io.javalin.http.HttpStatus
The request was directed at a server that is not able to produce a response. This can be sent by a server that is not configured to produce responses for the combination of scheme and authority that are included in the request URI.
- MisdirectedRequestResponse - class in io.javalin.http
- MissingBracketsException - class in io.javalin.router.matcher
- MissingConverterException - class in io.javalin.validation
- missingDependencyMessage(io.javalin.util.OptionalDependency) - function in io.javalin.util.DependencyUtil
- modifyHttpConfiguration(java.util.function.Consumer) - function in io.javalin.config.JettyConfig
- Configure the HttpConfiguration to be used by the jetty Server.
- modifyServer(java.util.function.Consumer) - function in io.javalin.config.JettyConfig
- Configure the jetty Server.
- modifyServletContextHandler(java.util.function.Consumer) - function in io.javalin.config.JettyConfig
- Configure the jetty ServletContextHandler.
- modifyWebSocketServletFactory(java.util.function.Consumer) - function in io.javalin.config.JettyConfig
- Configure the jetty JettyWebSocketServletFactory.
- mount(io.javalin.router.RoutingApiInitializer,java.util.function.Consumer) - function in io.javalin.config.RouterConfig
- mount(java.util.function.Consumer) - function in io.javalin.config.RouterConfig
- MOVED_PERMANENTLY - enum entry in io.javalin.http.HttpStatus
The URL of the requested resource has been changed permanently. The new URL is given in the response.
- MovedPermanentlyResponse - class in io.javalin.http
- MULTI_STATUS - enum entry in io.javalin.http.HttpStatus
Conveys information about multiple resources, for situations where multiple status codes might be appropriate.
- MULTIPART_FORM_DATA - enum entry in io.javalin.http.ContentType
- MultipartConfig - class in io.javalin.config
- This class contains the configuration for handling multipart file uploads
- MultipartUtil - class in io.javalin.http.util
- MULTIPLE_CHOICES - enum entry in io.javalin.http.HttpStatus
The request has more than one possible response. The user agent or user should choose one of them.
- MultipleChoicesResponse - class in io.javalin.http
- MultiStatusResponse - class in io.javalin.http