Package org.eclipse.jetty.client
Class ContinueProtocolHandler
- java.lang.Object
- 
- org.eclipse.jetty.client.ContinueProtocolHandler
 
- 
- All Implemented Interfaces:
- ProtocolHandler
 
 public class ContinueProtocolHandler extends java.lang.Object implements ProtocolHandler A protocol handler that handles the 100 response code. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected classContinueProtocolHandler.ContinueListener
 - 
Field SummaryFields Modifier and Type Field Description static java.lang.StringNAME
 - 
Constructor SummaryConstructors Constructor Description ContinueProtocolHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(Request request, Response response)Inspects the givenrequestandresponseto detect whether this protocol handler should handle them.java.lang.StringgetName()Response.ListenergetResponseListener()protected voidonContinue(Request request)
 
- 
- 
- 
Field Detail- 
NAMEpublic static final java.lang.String NAME - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() - Specified by:
- getNamein interface- ProtocolHandler
- Returns:
- a unique name among protocol handlers
 
 - 
acceptpublic boolean accept(Request request, Response response) Description copied from interface:ProtocolHandlerInspects the given requestandresponseto detect whether this protocol handler should handle them.For example, a redirect protocol handler can inspect the response code and return true if it is a redirect response code. This method is being called just after the response line has been parsed, and before the response headers are available. - Specified by:
- acceptin interface- ProtocolHandler
- Parameters:
- request- the request to accept
- response- the response to accept
- Returns:
- true if this protocol handler can handle the given request and response
 
 - 
getResponseListenerpublic Response.Listener getResponseListener() - Specified by:
- getResponseListenerin interface- ProtocolHandler
- Returns:
- a response listener that will handle the request and response on behalf of the application.
 
 - 
onContinueprotected void onContinue(Request request) 
 
- 
 
-