- 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, List<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, List<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, List<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.
- pathFinder(Handler) - Method in class io.javalin.Javalin
-
Finds the mapped path for the specified handler
- pathFinder(Handler, HandlerType) - Method in class io.javalin.Javalin
-
Finds the path for the specified handler and handler type (GET, POST, etc)
- 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, List<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, List<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, List<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.
- 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, List<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, List<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, List<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.