org.glassfish.web.admin.cli
Class CreateHttp

java.lang.Object
  extended by org.glassfish.web.admin.cli.CreateHttp
All Implemented Interfaces:
AdminCommand

@Service(name="create-http")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@ExecuteOn(value={DAS,INSTANCE})
@TargetType(value={DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG})
public class CreateHttp
extends java.lang.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
CreateHttp()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateHttp

public CreateHttp()
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 interface AdminCommand
Parameters:
context - information


Copyright © 2012 GlassFish Community. All Rights Reserved.