Package org.eclipse.jetty.client
Class ContinueProtocolHandler
- java.lang.Object
-
- org.eclipse.jetty.client.ContinueProtocolHandler
-
- All Implemented Interfaces:
ProtocolHandler
@Deprecated(since="2021-05-27") public class ContinueProtocolHandler extends java.lang.Object implements ProtocolHandler
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.A protocol handler that handles the 100 response code.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMEDeprecated.
-
Constructor Summary
Constructors Constructor Description ContinueProtocolHandler()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanaccept(Request request, Response response)Deprecated.Inspects the givenrequestandresponseto detect whether this protocol handler should handle them.java.lang.StringgetName()Deprecated.Response.ListenergetResponseListener()Deprecated.
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
Deprecated.- Specified by:
getNamein interfaceProtocolHandler- Returns:
- a unique name among protocol handlers
-
accept
public boolean accept(Request request, Response response)
Deprecated.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 interfaceProtocolHandler- Parameters:
request- the request to acceptresponse- the response to accept- Returns:
- true if this protocol handler can handle the given request and response
-
getResponseListener
public Response.Listener getResponseListener()
Deprecated.- Specified by:
getResponseListenerin interfaceProtocolHandler- Returns:
- a response listener that will handle the request and response on behalf of the application.
-
-