Package com.mastfrog.acteur.preconditions
package com.mastfrog.acteur.preconditions
-
ClassDescriptionIndicates that this endpoint requires authentication using whatever mechanism is configured (by default, HTTP Basic Auth - you should implement and bind Authenticator to use it).Marks an endpoint as authenticated if the named setting is set to true.Deprecated.Use @Authenticated insteadMarks endpoints that should have CORS headers associated with it.Provide a description for a page or acteur which will be used by Application.getHelpPageType() to provide an API-level help call.Allows a call to include an example URL and sample inputs and outputs in the generated documentation.Handles the case where one HTTP call supports multiple uses or multiple types of input and output (ex.Make the request body available as the passed type.Make the request parameters available as the passed type.Specifies a maximum number of / separated elements in the URL path, for use Acteurs which use the tail of the URL path as an open-ended list of something.Annotation which can appear on an Acteur with the @HttpCall annotation or on a Page with that annotation.Annotation which can be set on Page classes to determine what methods are respond to.Annotation which can appear on an Acteur with the @HttpCall annotation or on a Page with that annotation.Mechanism for pluggable handling of annotations - this way an application can create its own annotations which imply that some acteurs are to be added to a page, and actually add them.Registry of PageAnnotationHandlersAnnotation which can appear on an Acteur with the @HttpCall annotation or on a Page with that annotation.Specifieds a glob-style URL path, such as /mything/* - a * can represent anything but a / character.Annotation which determines regular expressions used to determine whether a page responds to a given request.Annotation which can appear on an Acteur with the @HttpCall annotation or on a Page with that annotation.Annotation which causes a Page to return
400 Bad Requestif the url parameters do not match what the annotation describes.Annotation which can appear on an Acteur with the @HttpCall annotation or on a Page with that annotation.Annotation which can appear on an Acteur with the @HttpCall annotation or on a Page with that annotation.Annotation which can appear on an Acteur with the @HttpCall annotation or on a Page with that annotation.