A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 

P

ParameterNamesNotUniqueException - class in io.javalin.router.matcher
 
Params - class in io.javalin.validation
 
ParsedEndpoint - class in io.javalin.router
 
PARTIAL_CONTENT - enum entry in io.javalin.http.HttpStatus

This response code is used when the Range header is sent from the client to request only part of a resource.

PartialContentResponse - class in io.javalin.http
 
patch(io.javalin.http.Handler) - function in io.javalin.apibuilder.ApiBuilder
Adds a PATCH request handler for the current path to the Javalin instance.
patch(io.javalin.http.Handler,kotlin.Array) - function in io.javalin.apibuilder.ApiBuilder
Adds a PATCH request handler with the given roles for the current path to the instance.
patch(java.lang.String,io.javalin.http.Handler) - function in io.javalin.apibuilder.ApiBuilder
Adds a PATCH request handler for the specified path to the Javalin instance.
patch(java.lang.String,io.javalin.http.Handler,kotlin.Array) - function in io.javalin.apibuilder.ApiBuilder
Adds a PATCH request handler with the given roles for the specified path to the instance.
PATCH - enum entry in io.javalin.http.HandlerType

The HTTP PATCH request method applies partial modifications to a resource.

PATCH is somewhat analogous to the "update" concept found in CRUD (in general, HTTP is different than CRUD, and the two should not be confused).

patch(java.lang.String,io.javalin.http.Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a PATCH request handler for the specified path to the instance.
patch(java.lang.String,io.javalin.http.Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a PATCH request handler for the specified path to the instance.
patch(java.lang.String,io.javalin.http.Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a PATCH request handler for the specified path to the instance.
patch(java.lang.String,io.javalin.http.Handler,io.javalin.security.RouteRole) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a PATCH request handler with the given roles for the specified path to the instance.
patch(java.lang.String,io.javalin.http.Handler,io.javalin.security.RouteRole) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a PATCH request handler with the given roles for the specified path to the instance.
path(java.lang.String,io.javalin.apibuilder.EndpointGroup) - function in io.javalin.apibuilder.ApiBuilder
Prefixes all handlers defined in its scope with the specified path.
path() - function in io.javalin.http.Context
Gets the request path.
path() - function in io.javalin.http.Context
Gets the request path.
PathMatcher - class in io.javalin.router.matcher
 
pathParam(java.lang.String) - function in io.javalin.http.Context
Gets a path param by name (ex: pathParam("param").
pathParam(java.lang.String) - function in io.javalin.http.servlet.JavalinServletContext
Gets a path param by name (ex: pathParam("param").
pathParam(java.lang.String) - function in io.javalin.websocket.WsContext
Returns a path param by name (ex: pathParam("param")).
pathParam(java.lang.String) - function in io.javalin.websocket.WsContext
Returns a path param by name (ex: pathParam("param")).
pathParamAsClass(java.lang.String,java.lang.Class) - function in io.javalin.http.Context
Creates a typed Validator for the pathParam() value
pathParamAsClass(java.lang.String,java.lang.Class) - function in io.javalin.http.Context
Creates a typed Validator for the pathParam() value
pathParamAsClass(io.javalin.http.Context,java.lang.String) - function in io.javalin.http.ContextKt
Reified version of Context.pathParamAsClass (Kotlin only)
pathParamAsClass(java.lang.String) - function in io.javalin.websocket.WsContext
Reified version of pathParamAsClass (Kotlin only)
pathParamAsClass(java.lang.String) - function in io.javalin.websocket.WsContext
Reified version of pathParamAsClass (Kotlin only)
pathParamAsClass(java.lang.String,java.lang.Class) - function in io.javalin.websocket.WsContext
Creates a typed io.javalin.validation.Validator for the pathParam value
pathParamAsClass(java.lang.String,java.lang.Class) - function in io.javalin.websocket.WsContext
Creates a typed io.javalin.validation.Validator for the pathParam value
pathParamMap() - function in io.javalin.http.Context
Gets a map of all the pathParamAsClass keys and values.
pathParamMap() - function in io.javalin.http.servlet.JavalinServletContext
Gets a map of all the pathParamAsClass keys and values.
pathParamMap() - function in io.javalin.websocket.WsContext
Returns a Map of all the path parameters
pathParamMap() - function in io.javalin.websocket.WsContext
Returns a Map of all the path parameters
pathParamOrThrow(java.util.Map,java.lang.String,java.lang.String) - function in io.javalin.http.servlet.JavalinServletContextKt
 
PathParser - class in io.javalin.router.matcher
 
PathSegment - class in io.javalin.router.matcher
 
PathSegment.MultipleSegments - class in io.javalin.router.matcher.PathSegment
 
PathSegment.Normal - class in io.javalin.router.matcher.PathSegment
 
PathSegment.Normal.RegexAllowed - class in io.javalin.router.matcher.PathSegment.Normal
 
PathSegment.Normal.RegexEscaped - class in io.javalin.router.matcher.PathSegment.Normal
 
PathSegment.Parameter - class in io.javalin.router.matcher.PathSegment
 
PathSegment.Parameter.SlashAcceptingParameter - class in io.javalin.router.matcher.PathSegment.Parameter
 
PathSegment.Parameter.SlashIgnoringParameter - class in io.javalin.router.matcher.PathSegment.Parameter
 
PathSegment.Wildcard - class in io.javalin.router.matcher.PathSegment
 
PAYMENT_REQUIRED - enum entry in io.javalin.http.HttpStatus

This response code is reserved for future use. The initial aim for creating this code was using it for digital payment systems, however this status code is used very rarely and no standard convention exists.

PaymentRequiredResponse - class in io.javalin.http
 
PERMANENT_REDIRECT - enum entry in io.javalin.http.HttpStatus

This means that the resource is now permanently located at another URI, specified by the Location: HTTP Response header.

PermanentRedirectResponse - class in io.javalin.http
 
PipedStreamExecutor - class in io.javalin.json
 
Plugin - class in io.javalin.plugin
Extend this class to create a plugin with a config.
PluginAlreadyRegisteredException - class in io.javalin.plugin
 
PluginException - class in io.javalin.plugin
 
PluginManager - class in io.javalin.plugin
 
PluginNotRegisteredException - class in io.javalin.plugin
 
PluginPriority - class in io.javalin.plugin
 
POLICY_VIOLATION - enum entry in io.javalin.websocket.WsCloseStatus

The endpoint is terminating the connection because it received a message that violates its policy. This is a generic status code, used when codes 1003 and 1009 are not suitable.

port() - function in io.javalin.Javalin
Get which port instance is running on Mostly useful if you start the instance with port(0) (random port)
port() - function in io.javalin.http.Context
Gets the request port.
port() - function in io.javalin.http.Context
Gets the request port.
port() - function in io.javalin.jetty.JettyServer
 
post(io.javalin.http.Handler) - function in io.javalin.apibuilder.ApiBuilder
Adds a POST request handler for the current path to the Javalin instance.
post(io.javalin.http.Handler,kotlin.Array) - function in io.javalin.apibuilder.ApiBuilder
Adds a POST request handler with the given roles for the current path to the instance.
post(java.lang.String,io.javalin.http.Handler) - function in io.javalin.apibuilder.ApiBuilder
Adds a POST request handler for the specified path to the Javalin instance.
post(java.lang.String,io.javalin.http.Handler,kotlin.Array) - function in io.javalin.apibuilder.ApiBuilder
Adds a POST request handler with the given roles for the specified path to the instance.
POST - enum entry in io.javalin.http.HandlerType

The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.

post(java.lang.String,io.javalin.http.Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a POST request handler for the specified path to the instance.
post(java.lang.String,io.javalin.http.Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a POST request handler for the specified path to the instance.
post(java.lang.String,io.javalin.http.Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a POST request handler for the specified path to the instance.
post(java.lang.String,io.javalin.http.Handler,io.javalin.security.RouteRole) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a POST request handler with the given roles for the specified path to the instance.
post(java.lang.String,io.javalin.http.Handler,io.javalin.security.RouteRole) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a POST request handler with the given roles for the specified path to the instance.
postRender(java.lang.String,io.javalin.http.Context) - function in io.javalin.vue.VueComponent
 
postRender(java.lang.String,io.javalin.http.Context) - function in io.javalin.vue.VueHandler
 
postRender(java.lang.String,io.javalin.http.Context) - function in io.javalin.vue.VueRenderer
 
PRECONDITION_FAILED - enum entry in io.javalin.http.HttpStatus

The client has indicated preconditions in its headers which the server does not meet.

PRECONDITION_REQUIRED - enum entry in io.javalin.http.HttpStatus

The origin server requires the request to be conditional. This response is intended to prevent the 'lost update' problem, where a client GETs a resource's state, modifies it and PUTs it back to the server, when meanwhile a third party has modified the state on the server, leading to a conflict.

PreconditionFailedResponse - class in io.javalin.http
 
PreconditionRequiredResponse - class in io.javalin.http
 
prefixContextPath(java.lang.String,java.lang.String) - function in io.javalin.util.Util
 
prefixPath(java.lang.String) - function in io.javalin.apibuilder.ApiBuilder
 
preRender(java.lang.String,io.javalin.http.Context) - function in io.javalin.vue.VueComponent
 
preRender(java.lang.String,io.javalin.http.Context) - function in io.javalin.vue.VueHandler
 
preRender(java.lang.String,io.javalin.http.Context) - function in io.javalin.vue.VueRenderer
 
printHelpfulMessageIfLoggerIsMissing() - function in io.javalin.util.Util
 
printStackTrace() - function in kotlin.Throwable
 
printStackTrace(java.io.PrintStream) - function in kotlin.Throwable
 
printStackTrace(java.io.PrintWriter) - function in kotlin.Throwable
 
priority() - function in io.javalin.plugin.Plugin
The priority of the plugin that determines when it should be started.
priority() - function in io.javalin.plugin.Plugin
The priority of the plugin that determines when it should be started.
priority() - function in io.javalin.plugin.bundled.RedirectToLowercasePathPlugin
The priority of the plugin that determines when it should be started.
priority() - function in io.javalin.plugin.bundled.RouteOverviewPlugin
The priority of the plugin that determines when it should be started.
PrivateConfig - class in io.javalin.config
 
PROCESSING - enum entry in io.javalin.http.HttpStatus

This code indicates that the server has received and is processing the request, but no response is available yet.

ProcessingResponse - class in io.javalin.http
 
protocol() - function in io.javalin.http.Context
Gets the request protocol.
protocol() - function in io.javalin.http.Context
Gets the request protocol.
PROTOCOL_ERROR - enum entry in io.javalin.websocket.WsCloseStatus

The endpoint is terminating the connection due to a protocol error.

PROXY_AUTHENTICATION_REQUIRED - enum entry in io.javalin.http.HttpStatus

This is similar to 401 Unauthorized but authentication is needed to be done by a proxy.

ProxyAuthenticationRequiredResponse - class in io.javalin.http
 
put(io.javalin.http.Handler) - function in io.javalin.apibuilder.ApiBuilder
Adds a PUT request handler for the current path to the Javalin instance.
put(io.javalin.http.Handler,kotlin.Array) - function in io.javalin.apibuilder.ApiBuilder
Adds a PUT request handler with the given roles for the current path to the instance.
put(java.lang.String,io.javalin.http.Handler) - function in io.javalin.apibuilder.ApiBuilder
Adds a PUT request handler for the specified path to the Javalin instance.
put(java.lang.String,io.javalin.http.Handler,kotlin.Array) - function in io.javalin.apibuilder.ApiBuilder
Adds a PUT request handler with the given roles for the specified path to the instance.
PUT - enum entry in io.javalin.http.HandlerType

The HTTP PUT request method creates a new resource or replaces a representation of the target resource with the request payload.

The difference between PUT and POST is that PUT is idempotent: calling it once or several times successively has the same effect (that is no side effect), whereas successive identical POST requests may have additional effects, akin to placing an order several times.

put(java.lang.String,io.javalin.http.Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a PUT request handler for the specified path to the instance.
put(java.lang.String,io.javalin.http.Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a PUT request handler for the specified path to the instance.
put(java.lang.String,io.javalin.http.Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a PUT request handler for the specified path to the instance.
put(java.lang.String,io.javalin.http.Handler,io.javalin.security.RouteRole) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a PUT request handler with the given roles for the specified path to the instance.
put(java.lang.String,io.javalin.http.Handler,io.javalin.security.RouteRole) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a PUT request handler with the given roles for the specified path to the instance.
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X