Class ConsoleBulkDomainAction
java.lang.Object
google.registry.ui.server.console.ConsoleApiAction
google.registry.ui.server.console.ConsoleBulkDomainAction
- All Implemented Interfaces:
Runnable
Console endpoint to perform the same action to a list of domains.
All requests must include the ConsoleBulkDomainAction.BulkAction
to perform as well as a ConsoleBulkDomainAction.BulkDomainList
of domains on which to apply the action. The remaining contents of the request
body depend on the type of action -- some requests may require more data than others.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static final record
static final record
All requests must include at least a list of domain names on which to perform the action.static final record
static final record
Nested classes/interfaces inherited from class google.registry.ui.server.console.ConsoleApiAction
ConsoleApiAction.EmailInfo
-
Field Summary
Fields inherited from class google.registry.ui.server.console.ConsoleApiAction
consoleApiParams
-
Constructor Summary
ConstructorDescriptionConsoleBulkDomainAction
(ConsoleApiParams consoleApiParams, EppController eppController, String registrarId, String bulkDomainAction, Optional<com.google.gson.JsonElement> optionalJsonPayload) -
Method Summary
Methods inherited from class google.registry.ui.server.console.ConsoleApiAction
checkPermission, deleteHandler, finishAndPersistConsoleUpdateHistory, getHandler, headHandler, putHandler, run, sendExternalUpdates, sendExternalUpdatesIfNecessary, setFailedResponse
-
Field Details
-
PATH
- See Also:
-
-
Constructor Details
-
ConsoleBulkDomainAction
@Inject public ConsoleBulkDomainAction(ConsoleApiParams consoleApiParams, EppController eppController, @Parameter("registrarId") String registrarId, @Parameter("bulkDomainAction") String bulkDomainAction, @OptionalJsonPayload Optional<com.google.gson.JsonElement> optionalJsonPayload)
-
-
Method Details
-
postHandler
- Overrides:
postHandler
in classConsoleApiAction
-