Class ListRestEndpointsCommand
- java.lang.Object
-
- fish.payara.appserver.rest.endpoints.config.admin.ListRestEndpointsCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="list-rest-endpoints") @PerLookup @CommandLock(NONE) @ExecuteOn(DAS) public class ListRestEndpointsCommand extends Object implements AdminCommand
CLI for listing all REST endpoints.asadmin list-rest-endpoints [--appname
[--componentname ]] Will be executed on DAS - Author:
- Matt Gill
-
-
Constructor Summary
Constructors Constructor Description ListRestEndpointsCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter valuesMap<String,Set<String>>
getEndpointMap(String appName)
Returns a list of a map of endpoint -> list of methods.
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommand
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values- Specified by:
execute
in interfaceAdminCommand
- Parameters:
context
- information
-
-