- patch(String, Handler) - Static method in class io.javalin.apibuilder.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.ApiBuilder
-
Adds a PATCH request handler with the given roles for the specified path to the instance.
- patch(Handler) - Static method in class io.javalin.apibuilder.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.ApiBuilder
-
Adds a PATCH request handler with the given roles for the current path to the instance.
- 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
-
Adds a PATCH request handler with the given roles for the specified path to the instance.
- path(String, EndpointGroup) - Static method in class io.javalin.apibuilder.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.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.ApiBuilder
-
Adds a POST request handler with the given roles for the specified path to the instance.
- post(Handler) - Static method in class io.javalin.apibuilder.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.ApiBuilder
-
Adds a POST request handler with the given roles for the current path to the instance.
- 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
-
Adds a POST request handler with the given roles for the specified path to 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.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.ApiBuilder
-
Adds a PUT request handler with the given roles for the specified path to the instance.
- put(Handler) - Static method in class io.javalin.apibuilder.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.ApiBuilder
-
Adds a PUT request handler with the given roles for the current path to the instance.
- 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
-
Adds a PUT request handler with the given roles for the specified path to the instance.