public abstract class AbstractRetryEntryPoint extends java.lang.Object implements ChannelEntryPoint
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
AbstractRetryEntryPoint(java.lang.String scheme,
int standardPort) |
Modifier and Type | Method and Description |
---|---|
void |
commence(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Commences a secure channel.
|
protected abstract java.lang.Integer |
getMappedPort(java.lang.Integer mapFromPort) |
protected PortMapper |
getPortMapper() |
protected PortResolver |
getPortResolver() |
protected RedirectStrategy |
getRedirectStrategy() |
void |
setPortMapper(PortMapper portMapper) |
void |
setPortResolver(PortResolver portResolver) |
void |
setRedirectStrategy(RedirectStrategy redirectStrategy)
Sets the strategy to be used for redirecting to the required channel URL.
|
public AbstractRetryEntryPoint(java.lang.String scheme, int standardPort)
public void commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
ChannelEntryPoint
Implementations should modify the headers on the ServletResponse
as
necessary to commence the user agent using the implementation's supported channel
type.
commence
in interface ChannelEntryPoint
request
- that a ChannelProcessor
has rejectedresponse
- so that the user agent can begin using a new channeljava.io.IOException
protected abstract java.lang.Integer getMappedPort(java.lang.Integer mapFromPort)
protected final PortMapper getPortMapper()
public void setPortMapper(PortMapper portMapper)
public void setPortResolver(PortResolver portResolver)
protected final PortResolver getPortResolver()
public void setRedirectStrategy(RedirectStrategy redirectStrategy)
DefaultRedirectStrategy
instance will be used if not set.redirectStrategy
- the strategy instance to which the URL will be passed.protected final RedirectStrategy getRedirectStrategy()