public interface HttpResponseListener
Modifier and Type | Method and Description |
---|---|
void |
failed(HttpClientException cause)
This method is called when the invocation has failed for any reason.
|
void |
handle(HttpResponse response)
This method is called when the response was successfully received.
|
void handle(HttpResponse response)
response
- inbound response.void failed(HttpClientException cause)
cause
- of failure.Copyright © 2013, 2014, Oracle and/or its affiliates. All rights reserved.