Package org.glassfish.grizzly.config.dom
Interface HttpRedirect
-
- All Superinterfaces:
ConfigBeanProxy
,PropertyBag
public interface HttpRedirect extends ConfigBeanProxy, 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
ConfigBeanProxy.Duck
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
PropertyBag.Duck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.config.types.PropertyBag
addProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
-
-
-
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
@Range(min=-1, max=65535) 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 usingHTTPS
where as a value offalse
will useHTTP
-
setSecure
void setSecure(String value)
-
-