Interface ChannelEntryPoint
- All Known Implementing Classes:
AbstractRetryEntryPoint,RetryWithHttpEntryPoint,RetryWithHttpsEntryPoint
public interface ChannelEntryPoint
May be used by a
ChannelProcessor to launch a web channel.
ChannelProcessors can elect to launch a new web channel directly, or they
can delegate to another class. The ChannelEntryPoint is a pluggable
interface to assist ChannelProcessors in performing this delegation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcommence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Commences a secure channel.
-
Method Details
-
commence
void commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException Commences 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:
IOExceptionjakarta.servlet.ServletException
-