Annotation Interface HandleGet
@Documented
@Retention(RUNTIME)
@Target(METHOD)
@HandleWeb(value="",
method="GET")
public @interface HandleGet
Handles incoming HTTP
GET requests for the specified path(s).
This is a specialization of HandleWeb for GET method requests.
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIftrue,HEADrequests may be routed to thisGEThandler when no explicitHEADhandler is present.booleanIftrue, this route may contribute to automatically generatedOPTIONSresponses.booleanIftrue, disables this handler during discovery.booleanIftrue, the handler will not publish a response to theWebResponselog.booleanIftrue, indexed web request messages whose effective timeout has already expired may be skipped before this handler is invoked.String[]One or more path patterns this handler applies to (e.g.
-
Element Details
-
value
String[] valueOne or more path patterns this handler applies to (e.g./users,/accounts/{id},/accounts/*/users). If empty, the path is based on thePathannotation.Patterns support literal path parts,
{name}parameters,{name:regex}constrained parameters, and*wildcards. A non-final*matches within a single path segment, while a final*matches the rest of the path. Optional path fragments can be declared with square brackets, for example/users[/{id}]. Trailing slashes on non-root paths are ignored.- Default:
{}
-
disabled
boolean disabledIftrue, disables this handler during discovery.- Default:
false
-
passive
boolean passiveIftrue, the handler will not publish a response to theWebResponselog.- Default:
false
-
skipExpiredRequests
boolean skipExpiredRequestsIftrue, indexed web request messages whose effective timeout has already expired may be skipped before this handler is invoked.- See Also:
- Default:
true
-
autoHead
boolean autoHeadIftrue,HEADrequests may be routed to thisGEThandler when no explicitHEADhandler is present.- Default:
true
-
autoOptions
boolean autoOptionsIftrue, this route may contribute to automatically generatedOPTIONSresponses.- Default:
true
-