Package org.eclipse.jetty.client
Class AuthenticationProtocolHandler.AfterAuthenticationListener
- java.lang.Object
-
- org.eclipse.jetty.client.api.Response.Listener.Adapter
-
- org.eclipse.jetty.client.AuthenticationProtocolHandler.AfterAuthenticationListener
-
- All Implemented Interfaces:
java.util.EventListener,Response.AsyncContentListener,Response.BeginListener,Response.CompleteListener,Response.ContentListener,Response.DemandedContentListener,Response.FailureListener,Response.HeaderListener,Response.HeadersListener,Response.Listener,Response.ResponseListener,Response.SuccessListener
- Enclosing class:
- AuthenticationProtocolHandler
private class AuthenticationProtocolHandler.AfterAuthenticationListener extends Response.Listener.Adapter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.client.api.Response.Listener
Response.Listener.Adapter
-
-
Field Summary
Fields Modifier and Type Field Description private Authentication.ResultauthenticationResult
-
Constructor Summary
Constructors Modifier Constructor Description privateAfterAuthenticationListener(Authentication.Result authenticationResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonSuccess(Response response)Callback method invoked when the whole response has been successfully received.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.client.api.Response.AsyncContentListener
onContent
-
Methods inherited from interface org.eclipse.jetty.client.api.Response.ContentListener
onContent
-
Methods inherited from interface org.eclipse.jetty.client.api.Response.DemandedContentListener
onBeforeContent
-
Methods inherited from interface org.eclipse.jetty.client.api.Response.Listener
onBegin, onComplete, onContent, onFailure, onHeader, onHeaders
-
-
-
-
Field Detail
-
authenticationResult
private final Authentication.Result authenticationResult
-
-
Constructor Detail
-
AfterAuthenticationListener
private AfterAuthenticationListener(Authentication.Result authenticationResult)
-
-
Method Detail
-
onSuccess
public void onSuccess(Response response)
Description copied from interface:Response.SuccessListenerCallback method invoked when the whole response has been successfully received.- Parameters:
response- the response containing the response line data and the headers
-
-