Package google.registry.request
Annotation Interface Action
Annotation for
Runnable
actions accepting HTTP requests from RequestHandler
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static enum
HTTP methods recognized by the request processor.static interface
static class
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Indicates request processor should print "OK" to the HTTP client on success.Which GKE service this action lives on.boolean
Indicates all paths starting with this path should be accepted.HTTP methods that request processor should allow.
-
Element Details
-
service
Action.GaeService serviceWhich App Engine service this action lives on. -
gkeService
Action.GkeService gkeServiceWhich GKE service this action lives on.- Default:
SAME_AS_GAE
-
path
String pathHTTP path to serve the action from. The path components must be percent-escaped. -
isPrefix
boolean isPrefixIndicates all paths starting with this path should be accepted.- Default:
false
-
method
Action.Method[] methodHTTP methods that request processor should allow.- Default:
{GET}
-
automaticallyPrintOk
boolean automaticallyPrintOkIndicates request processor should print "OK" to the HTTP client on success.This is important because it's confusing to manually invoke a backend task and have a blank page show up. And it's not worth injecting a
Response
object just to do something so trivial.- Default:
false
-
auth
Auth authAuthentication settings.
-