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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      execute in interface org.glassfish.api.admin.AdminCommand
      Parameters:
      context - information