public interface HttpRedirect
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag
A Protocol which redirects an HTTP(S) request to a different location
using HTTP 302 redirection semantics.
| Modifier and Type | Method and Description |
|---|---|
String |
getPort() |
String |
getSecure() |
void |
setPort(String port) |
void |
setSecure(String value) |
static final int PORT
static final boolean SECURE
@Range(min=-1, max=65535) String getPort()
-1 will be returned
which signifies a redirection to the same port the current request
was made onvoid setPort(String port)
String getSecure()
true will redirect the request using HTTPS
where as a value of false will use HTTPvoid setSecure(String value)
Copyright © 2017. All rights reserved.