public class SequenceResponse extends Object implements IResponseHandler
Sends IllegalStateException if no reponse has been added, or if execute is called too many times.
Constructor and Description |
---|
SequenceResponse() |
Modifier and Type | Method and Description |
---|---|
org.apache.http.HttpResponse |
execute(org.apache.http.HttpRequest request)
Implement this method to process the HTTP request and provide a custom reponse.
|
SequenceResponse |
response(org.apache.http.HttpResponse response)
Add a Http response.
|
public org.apache.http.HttpResponse execute(org.apache.http.HttpRequest request)
IResponseHandler
execute
in interface IResponseHandler
public SequenceResponse response(org.apache.http.HttpResponse response)
response
- Copyright © 2008–2018. All rights reserved.