Package org.glassfish.web.admin.cli
Class CreateHttpRedirect
- java.lang.Object
-
- org.glassfish.web.admin.cli.CreateHttpRedirect
-
- All Implemented Interfaces:
AdminCommand
@Service(name="create-http-redirect") @PerLookup @ExecuteOn({DAS,INSTANCE}) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG}) public class CreateHttpRedirect extends Object implements AdminCommand
Command to create
http-redirectelement as a child of theprotocolelement.domain.xml example:
<http-redirect port="8181" secure="true" />- Since:
- 3.1
-
-
Constructor Summary
Constructors Constructor Description CreateHttpRedirect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(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 values
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommandExecutes 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:
executein interfaceAdminCommand- Parameters:
context- information
-
-