Interface ChannelEntryPoint
-
- All Known Implementing Classes:
AbstractRetryEntryPoint,RetryWithHttpEntryPoint,RetryWithHttpsEntryPoint
public interface ChannelEntryPointMay be used by aChannelProcessorto launch a web channel.ChannelProcessors can elect to launch a new web channel directly, or they can delegate to another class. TheChannelEntryPointis a pluggable interface to assistChannelProcessors in performing this delegation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcommence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Commences a secure channel.
-
-
-
Method Detail
-
commence
void commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletExceptionCommences a secure channel.Implementations should modify the headers on the
ServletResponseas necessary to commence the user agent using the implementation's supported channel type.- Parameters:
request- that aChannelProcessorhas rejectedresponse- so that the user agent can begin using a new channel- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
-