A B C D F G H I M O P Q R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- APPLICATION_ATOM_XML - Static variable in interface io.avaje.http.api.MediaType
-
A
String
constant representing "application/atom+xml" media type. - APPLICATION_FORM_URLENCODED - Static variable in interface io.avaje.http.api.MediaType
-
A
String
constant representing "application/x-www-form-urlencoded" media type. - APPLICATION_JSON - Static variable in interface io.avaje.http.api.MediaType
-
A
String
constant representing "application/json" media type. - APPLICATION_JSON_PATCH_JSON - Static variable in interface io.avaje.http.api.MediaType
-
String
representation of "application/json-patch+json" media type.. - APPLICATION_OCTET_STREAM - Static variable in interface io.avaje.http.api.MediaType
-
A
String
constant representing "application/octet-stream" media type. - APPLICATION_SVG_XML - Static variable in interface io.avaje.http.api.MediaType
-
A
String
constant representing "application/svg+xml" media type. - APPLICATION_XHTML_XML - Static variable in interface io.avaje.http.api.MediaType
-
A
String
constant representing "application/xhtml+xml" media type. - APPLICATION_XML - Static variable in interface io.avaje.http.api.MediaType
-
A
String
constant representing "application/xml" media type. - asBigDecimal(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to BigDecimal (not nullable).
- asBool(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to boolean.
- asBoolean(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to boolean.
- asDouble(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to double.
- asFloat(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to float.
- asInstant(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to Instant (not nullable).
- asInt(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to int.
- asInteger(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to Integer (not nullable).
- asLocalDate(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to LocalDate (not nullable).
- asLocalDateTime(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to LocalDateTime (not nullable).
- asLocalTime(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to LocalTime (not nullable).
- asLong(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to long.
- asOffsetDateTime(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to OffsetDateTime (not nullable).
- asUUID(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to UUID (not nullable).
B
- BeanParam - Annotation Type in io.avaje.http.api
-
A parameter that is a bean containing query parameters, headers and cookies.
C
- checkNull(String, String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Check for null for a required property throwing RequiredArgumentException if the value is null.
- Controller - Annotation Type in io.avaje.http.api
-
Marker annotation for controllers.
- Cookie - Annotation Type in io.avaje.http.api
-
A parameter that is a cookie value.
D
- Default - Annotation Type in io.avaje.http.api
-
Define a default value for a form parameter or query parameter.
- Delete - Annotation Type in io.avaje.http.api
-
Marks a method that handles HTTP DELETE requests.
F
- Form - Annotation Type in io.avaje.http.api
-
A parameter that is a bean containing form parameters.
- FormParam - Annotation Type in io.avaje.http.api
-
Marks a method parameter to be a form parameter.
G
- Get - Annotation Type in io.avaje.http.api
-
Marks a method that handles HTTP GET requests.
- getErrors() - Method in exception io.avaje.http.api.ValidationException
-
Return the errors typically as a map of field to error message.
- getProperty() - Method in exception io.avaje.http.api.RequiredArgumentException
-
Return the name of the property that is required.
- getStatus() - Method in exception io.avaje.http.api.ValidationException
-
Return the suggested HTTP status to use in the response.
H
- Header - Annotation Type in io.avaje.http.api
-
A parameter that is a header value.
- HttpMethod - Annotation Type in io.avaje.http.api
I
- InvalidPathArgumentException - Exception in io.avaje.http.api
-
Exception for all invalid path type conversions - numbers, uuid, date time types etc.
- InvalidPathArgumentException(Exception) - Constructor for exception io.avaje.http.api.InvalidPathArgumentException
- InvalidPathArgumentException(String) - Constructor for exception io.avaje.http.api.InvalidPathArgumentException
- InvalidPathArgumentException(String, Exception) - Constructor for exception io.avaje.http.api.InvalidPathArgumentException
- InvalidTypeArgumentException - Exception in io.avaje.http.api
-
Exception for all invalid path type conversions - numbers, uuid, date time types etc.
- InvalidTypeArgumentException(Exception) - Constructor for exception io.avaje.http.api.InvalidTypeArgumentException
- InvalidTypeArgumentException(String) - Constructor for exception io.avaje.http.api.InvalidTypeArgumentException
- InvalidTypeArgumentException(String, Exception) - Constructor for exception io.avaje.http.api.InvalidTypeArgumentException
- io.avaje.http.api - package io.avaje.http.api
-
Provides annotations to support Controllers for web frameworks that are route based (like Sparkjava, Javlin etc).
M
- matrix(String) - Method in class io.avaje.http.api.PathSegment
-
Return a metric value for the given key.
- MediaType - Interface in io.avaje.http.api
-
Common media types used by controllers.
- MULTIPART_FORM_DATA - Static variable in interface io.avaje.http.api.MediaType
-
A
String
constant representing "multipart/form-data" media type.
O
- of(String) - Static method in class io.avaje.http.api.PathSegment
-
Create with a given value that may contain matrix parameters.
P
- Patch - Annotation Type in io.avaje.http.api
-
Marks a method that handles HTTP PATCH requests.
- Path - Annotation Type in io.avaje.http.api
-
Specify the path mapping request to the controller.
- PathSegment - Class in io.avaje.http.api
-
A path segment that can simple like value like
chair
or contain matrix parameter values using semi-colon delimitation likechair;vendor=ikea;size=small
. - PathSegment(String) - Constructor for class io.avaje.http.api.PathSegment
-
Create with a given value that may contain matric parameters.
- PathTypeConversion - Class in io.avaje.http.api
-
Helper type conversion methods.
- PathTypeConversion() - Constructor for class io.avaje.http.api.PathTypeConversion
- Post - Annotation Type in io.avaje.http.api
-
Marks a method that handles HTTP POST requests.
- Produces - Annotation Type in io.avaje.http.api
-
Specify endpoint response media type.
- Put - Annotation Type in io.avaje.http.api
-
Marks a method that handles HTTP PUT requests.
Q
- QueryParam - Annotation Type in io.avaje.http.api
-
Marks a method parameter to be a query parameter.
R
- registerRoutes() - Method in interface io.avaje.http.api.WebRoutes
-
Register routes.
- RequiredArgumentException - Exception in io.avaje.http.api
-
Exception for parameters that are required.
- RequiredArgumentException(Exception) - Constructor for exception io.avaje.http.api.RequiredArgumentException
- RequiredArgumentException(String, Exception) - Constructor for exception io.avaje.http.api.RequiredArgumentException
- RequiredArgumentException(String, String) - Constructor for exception io.avaje.http.api.RequiredArgumentException
S
- SERVER_SENT_EVENTS - Static variable in interface io.avaje.http.api.MediaType
-
String
representation of Server sent events media type. - setErrors(Map<String, Object>) - Method in exception io.avaje.http.api.ValidationException
-
Set the errors.
- setProperty(String) - Method in exception io.avaje.http.api.RequiredArgumentException
-
Set the name of the required property.
- setStatus(int) - Method in exception io.avaje.http.api.ValidationException
-
Set the suggested HTTP status to use in the response.
T
- TEXT_HTML - Static variable in interface io.avaje.http.api.MediaType
-
A
String
constant representing "text/html" media type. - TEXT_PLAIN - Static variable in interface io.avaje.http.api.MediaType
-
A
String
constant representing "text/plain" media type. - TEXT_XML - Static variable in interface io.avaje.http.api.MediaType
-
A
String
constant representing "text/xml" media type. - toBigDecimal(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to BigDecimal (allowing nulls).
- toBoolean(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to Boolean (allowing nulls).
- toInstant(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to Instant (allowing nulls).
- toInteger(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to Integer (allowing nulls).
- toLocalDate(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to LocalDate (allowing nulls).
- toLocalDateTime(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to LocalDateTime (allowing nulls).
- toLocalTime(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to LocalTime (allowing nulls).
- toLong(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to Long (allowing nulls).
- toOffsetDateTime(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to OffsetDateTime (allowing nulls).
- toUUID(String) - Static method in class io.avaje.http.api.PathTypeConversion
-
Convert to UUID (allowing nulls).
V
- val() - Method in class io.avaje.http.api.PathSegment
-
Return the main segment value.
- validate(Object) - Method in interface io.avaje.http.api.Validator
-
Validate the bean throwing an exception if the bean fails validation.
- ValidationException - Exception in io.avaje.http.api
-
Exception used with Validator.
- ValidationException(int, String) - Constructor for exception io.avaje.http.api.ValidationException
-
Create with a status and message.
- ValidationException(int, String, Map<String, Object>) - Constructor for exception io.avaje.http.api.ValidationException
-
Create with a status message and errors.
- ValidationException(String) - Constructor for exception io.avaje.http.api.ValidationException
-
Create with a message.
- Validator - Interface in io.avaje.http.api
-
Validator for form beans or request beans.
- value() - Method in annotation type io.avaje.http.api.Cookie
-
The name of the cookie.
- value() - Method in annotation type io.avaje.http.api.Default
-
The default value.
- value() - Method in annotation type io.avaje.http.api.Delete
-
Specify the path.
- value() - Method in annotation type io.avaje.http.api.FormParam
-
The name of the form parameter.
- value() - Method in annotation type io.avaje.http.api.Get
- value() - Method in annotation type io.avaje.http.api.Header
-
The name of the header.
- value() - Method in annotation type io.avaje.http.api.HttpMethod
- value() - Method in annotation type io.avaje.http.api.Patch
- value() - Method in annotation type io.avaje.http.api.Path
- value() - Method in annotation type io.avaje.http.api.Post
- value() - Method in annotation type io.avaje.http.api.Produces
- value() - Method in annotation type io.avaje.http.api.Put
- value() - Method in annotation type io.avaje.http.api.QueryParam
-
The name of the query parameter.
W
- WebRoutes - Interface in io.avaje.http.api
-
Registers routes to a web framework.
All Classes All Packages