org.glassfish.web.admin.cli
Class CreateHttpRedirect

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

@Service(name="create-http-redirect")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@ExecuteOn(value={DAS,INSTANCE})
@TargetType(value={DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG})
public class CreateHttpRedirect
extends java.lang.Object
implements AdminCommand

Command to create http-redirect element as a child of the protocol element.

domain.xml example:

     <http-redirect port="8181" secure="true" />
 

Since:
3.1

Constructor Summary
CreateHttpRedirect()
           
 
Method Summary
 void execute(AdminCommandContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateHttpRedirect

public CreateHttpRedirect()
Method Detail

execute

public void execute(AdminCommandContext context)
Specified by:
execute in interface AdminCommand


Copyright © 2012 GlassFish Community. All Rights Reserved.