Package org.glassfish.web.admin.cli
Class CreateHttp
java.lang.Object
org.glassfish.web.admin.cli.CreateHttp
- All Implemented Interfaces:
org.glassfish.api.admin.AdminCommand
@Service(name="create-http")
@PerLookup
@ExecuteOn({DAS,INSTANCE})
@TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG})
public class CreateHttp
extends Object
implements org.glassfish.api.admin.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 -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.glassfish.api.admin.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.
-
Constructor Details
-
CreateHttp
public CreateHttp()
-
-
Method Details
-
execute
public void execute(org.glassfish.api.admin.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:
executein interfaceorg.glassfish.api.admin.AdminCommand- Parameters:
context- information
-