Modifier and Type | Field and Description |
---|---|
private Throwable |
exception |
private Execution |
execution |
private Request |
request |
private Response |
response |
Constructor and Description |
---|
RunnableExecution(Request request,
Execution execution) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getException()
Returns the exception from executing this, or null if response is set or run() has not been called yet
|
Response |
getResponse()
Returns the response from executing this, or null if exception is set or run() has not been called yet
|
void |
run()
Calls process on the execution of this.
|
private final Request request
private final Execution execution
private Response response
private Throwable exception
public void run()
public Response getResponse()
public Throwable getException()
Copyright © 2018. All rights reserved.