public class PollInverseServiceRequest extends AbstractRequest<InverseServiceRequest>
| Constructor and Description |
|---|
PollInverseServiceRequest() |
| Modifier and Type | Method and Description |
|---|---|
InverseServiceRequest |
execute()
Execute the actual request.
|
boolean |
isResultNullable()
Indicates, if the result of the invocation can be
null. |
assertResponseIndicatesSuccess, assignCredentials, createWebTarget, encodePath, getBaseURL, getClientOrFail, getLocalServerRestClient, getLocalServerRestClientOrFail, getPath, handleException, setLocalServerRestClient, throwOriginalExceptionIfPossible, urlEncodepublic PollInverseServiceRequest()
public InverseServiceRequest execute()
Request
Important: You should never invoke this method directly! Instead, pass the Request to
LocalServerRestClient.execute(Request).
null. Depending on
Request.isResultNullable() a null result is considered an error and causes an exception.public boolean isResultNullable()
Requestnull.
If the server must send a response, i.e. the invocation must not return empty-handed, this
should be false. In case, the server still does not send a reply, it is considered an
error causing an exception.
Please note: If a request never returns a response (like a Java void method), it is recommended
that you sub-class VoidRequest.
true if null as response is allowed; false otherwise.Copyright © 2013–2017. All rights reserved.