com.sun.grizzly.config.dom
Interface HttpRedirect

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

public interface HttpRedirect
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

A Protocol which redirects an HTTP(S) request to a different location using HTTP 302 redirection semantics.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
org.jvnet.hk2.config.types.PropertyBag.Duck
 
Field Summary
static int PORT
           
static boolean SECURE
           
 
Method Summary
 String getPort()
           
 String getSecure()
           
 void setPort(String port)
           
 void setSecure(String value)
           
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getProperty, getPropertyValue, getPropertyValue
 

Field Detail

PORT

static final int PORT
See Also:
Constant Field Values

SECURE

static final boolean SECURE
See Also:
Constant Field Values
Method Detail

getPort

String getPort()
Returns:
the network port the request should be redirected to. If no value was specified, the default of -1 will be returned which signifies a redirection to the same port the current request was made on

setPort

void setPort(String port)

getSecure

String getSecure()
Returns:
true will redirect the request using HTTPS where as a value of false will use HTTP

setSecure

void setSecure(String value)


Copyright © 2013 Oracle Corporation. All Rights Reserved.