Package org.glassfish.web.admin.cli
Class CreateHttp
- java.lang.Object
-
- org.glassfish.web.admin.cli.CreateHttp
-
- All Implemented Interfaces:
AdminCommand
@Service(name="create-http") @PerLookup @ExecuteOn({DAS,INSTANCE}) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG}) public class CreateHttp extends Object implements AdminCommand
Command to create http element within a protocol element Sample Usage : create-http protocol_name domain.xml element example <http max-connections="250" default-virtual-server="server" server-name=""> <file-cache enabled="false" /> </http>- Author:
- Justin Lee
-
-
Constructor Summary
Constructors Constructor Description CreateHttp()
-
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 the parameter values.
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values the parameter values.- Specified by:
execute
in interfaceAdminCommand
- Parameters:
context
- information
-
-