- patch(String, Handler) - Static method in class io.javalin.ApiBuilder
-
Adds a PATCH request handler for the specified path to the
Javalin
instance.
- patch(String, Handler, Set<Role>) - Static method in class io.javalin.ApiBuilder
-
Wraps a PATCH handler using the current AccessManager and adds it to the instance
The method can only be called inside a Javalin#routes(EndpointGroup)
.
- patch(Handler) - Static method in class io.javalin.ApiBuilder
-
Adds a PATCH request handler for the current path to the
Javalin
instance.
- patch(Handler, Set<Role>) - Static method in class io.javalin.ApiBuilder
-
Wraps a PATCH handler using the current AccessManager and adds it to
the instance using the current path
The method can only be called inside a Javalin#routes(EndpointGroup)
.
- patch(String, Handler) - Method in class io.javalin.Javalin
-
Adds a PATCH request handler for the specified path to the instance.
- patch(String, Handler, Set<Role>) - Method in class io.javalin.Javalin
-
Wraps a PATCH handler using the current AccessManager and adds it to the instance
Requires an access manager to be set on the instance.
- path(String, ApiBuilder.EndpointGroup) - Static method in class io.javalin.ApiBuilder
-
Prefixes all handlers defined in its scope with the specified path.
- port() - Method in class io.javalin.Javalin
-
Get which port instance is running on
Mostly useful if you start the instance with port(0) (random port)
- port(int) - Method in class io.javalin.Javalin
-
Configure instance to run on specified port.
- post(String, Handler) - Static method in class io.javalin.ApiBuilder
-
Adds a POST request handler for the specified path to the
Javalin
instance.
- post(String, Handler, Set<Role>) - Static method in class io.javalin.ApiBuilder
-
Wraps a POST handler using the current AccessManager and adds it to the instance
The method can only be called inside a Javalin#routes(EndpointGroup)
.
- post(Handler) - Static method in class io.javalin.ApiBuilder
-
Adds a POST request handler for the current path to the
Javalin
instance.
- post(Handler, Set<Role>) - Static method in class io.javalin.ApiBuilder
-
Wraps a POST handler using the current AccessManager and adds it to
the instance using the current path
The method can only be called inside a Javalin#routes(EndpointGroup)
.
- post(String, Handler) - Method in class io.javalin.Javalin
-
Adds a POST request handler for the specified path to the instance.
- post(String, Handler, Set<Role>) - Method in class io.javalin.Javalin
-
Wraps a POST handler using the current AccessManager and adds it to the instance
Requires an access manager to be set on the instance.
- prefer405over404() - Method in class io.javalin.Javalin
-
Configure the instance to return 405 (Method Not Allowed) instead of 404 (Not Found) whenever a request method doesn't exists but there are handlers for other methods on the same requested path.
- put(String, Handler) - Static method in class io.javalin.ApiBuilder
-
Adds a PUT request handler for the specified path to the
Javalin
instance.
- put(String, Handler, Set<Role>) - Static method in class io.javalin.ApiBuilder
-
Wraps a PUT handler using the current AccessManager and adds it to the instance
The method can only be called inside a Javalin#routes(EndpointGroup)
.
- put(Handler) - Static method in class io.javalin.ApiBuilder
-
Adds a PUT request handler for the current path to the
Javalin
instance.
- put(Handler, Set<Role>) - Static method in class io.javalin.ApiBuilder
-
Wraps a PUT handler using the current AccessManager and adds it to
the instance using the current path
The method can only be called inside a Javalin#routes(EndpointGroup)
.
- put(String, Handler) - Method in class io.javalin.Javalin
-
Adds a PUT request handler for the specified path to the instance.
- put(String, Handler, Set<Role>) - Method in class io.javalin.Javalin
-
Wraps a PUT handler using the current AccessManager and adds it to the instance
Requires an access manager to be set on the instance.