Module io.avaje.http.api
Package 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).
-
ClassDescriptionA parameter that is a bean containing query parameters, headers and cookies.Marks a controller string method parameter to be a string body.Marker annotation for client.Specify
@Client.Import
on a package or class to refer to the client interface we want to generate.Specify endpoint request media type for the generated OpenAPI json.Marker annotation for controllers.A parameter that is a cookie value.Define a default value for a form parameter or query parameter.Marks a method that handles HTTP DELETE requests.Annotation for handling exceptions in controller classes and/or handler methods.Marks a method as a FilterA parameter that is a bean containing form parameters.Marks a method parameter to be a form parameter.Marker for generated code.Marks a method that handles HTTP GET requests.A parameter that is a header value.Base for Http verb based annotations.Mark a field on a BeanParam/FormParam class as not a request parameter of any kind.Marks a controller method to be instrumented withRequestContextResolver
.Exception for all invalid path type conversions - numbers, uuid, date time types etc.Exception for all invalid path type conversions - numbers, uuid, date time types etc.Marks a method parameter to be a matrix parameter.Common media types used by controllers.Specify endpoint response status code/description/type.Container for repeatableOpenAPIResponse
annotationMarks a method that handles HTTP PATCH requests.Specify the path mapping request to a controller.A path segment that can simple like value likechair
or contain matrix parameter values using semi-colon delimitation likechair;vendor=ikea;size=small
.Helper type conversion methods.Marks a method that handles HTTP POST requests.Specify endpoint response media type.Marks a method that handles HTTP PUT requests.Marks a method parameter to be a query parameter.Overrides global request timeout for this endpoint.Exception for parameters that are required.Add@Valid
annotation on a controller/method/BeanParam that we want bean validation to be included for.Exception used with Validator.Error details including the field, error message and pathValidator for form beans or request beans.