public class RetryWithHttpEntryPoint extends Object implements org.springframework.beans.factory.InitializingBean, ChannelEntryPoint
This entry point should suffice in most circumstances. However, it is not intended to properly handle HTTP POSTs or other usage where a standard redirect would cause an issue.
Constructor and Description |
---|
RetryWithHttpEntryPoint() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
commence(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Commences a secure channel.
|
PortMapper |
getPortMapper() |
PortResolver |
getPortResolver() |
void |
setPortMapper(PortMapper portMapper) |
void |
setPortResolver(PortResolver portResolver) |
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void commence(javax.servlet.ServletRequest request, javax.servlet.ServletResponse 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
- DOCUMENT ME!javax.servlet.ServletException
- DOCUMENT ME!public PortMapper getPortMapper()
public PortResolver getPortResolver()
public void setPortMapper(PortMapper portMapper)
public void setPortResolver(PortResolver portResolver)
Copyright © 2019. All rights reserved.