Class JobActivationRequestResponseObserver
java.lang.Object
io.camunda.zeebe.gateway.rest.controller.JobActivationRequestResponseObserver
- All Implemented Interfaces:
ResponseObserver<JobActivationResponse>
public class JobActivationRequestResponseObserver
extends Object
implements ResponseObserver<JobActivationResponse>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JobActivationResponseprotected CompletableFuture<org.springframework.http.ResponseEntity<Object>> -
Constructor Summary
ConstructorsConstructorDescriptionJobActivationRequestResponseObserver(CompletableFuture<org.springframework.http.ResponseEntity<Object>> result) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanvoidvoidvoidonNext(JobActivationResponse element) voidsetCancelationHandler(Runnable handler)
-
Field Details
-
response
-
result
-
-
Constructor Details
-
JobActivationRequestResponseObserver
public JobActivationRequestResponseObserver(CompletableFuture<org.springframework.http.ResponseEntity<Object>> result)
-
-
Method Details
-
onCompleted
public void onCompleted()- Specified by:
onCompletedin interfaceResponseObserver<JobActivationResponse>
-
onNext
- Specified by:
onNextin interfaceResponseObserver<JobActivationResponse>
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceResponseObserver<JobActivationResponse>
-
onError
- Specified by:
onErrorin interfaceResponseObserver<JobActivationResponse>
-
setCancelationHandler
-
invokeCancelationHandler
public void invokeCancelationHandler()
-