public abstract class AbstractRetryEntryPoint extends Object implements ChannelEntryPoint
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
AbstractRetryEntryPoint(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 Integer |
getMappedPort(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(String scheme, int standardPort)
public void commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
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 channelIOException
javax.servlet.ServletException
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()