Class EcRemoteIteratorRest
- java.lang.Object
-
- de.aristaflow.ilm.ws.rest.base.service.AbstractSubResource<AddDataTransformatorRemoteIteratorWebService<?,WI,?,?,NI>>
-
- de.aristaflow.ilm.ws.rest.model.common.collection.RemoteIteratorRest<ExecutionContextResponse,EcRemoteIteratorData>
-
- de.aristaflow.ilm.ws.rest.model.execution.EcRemoteIteratorRest
-
@Produces("application/json") @Consumes("application/json") public class EcRemoteIteratorRest extends RemoteIteratorRest<ExecutionContextResponse,EcRemoteIteratorData>
- See Also:
RemoteIteratorRest
-
-
Constructor Summary
Constructors Constructor Description EcRemoteIteratorRest(EcRemoteIteratorWebService service, de.aristaflow.adept2.base.communication.rest.RequestHandler reqHandler, de.aristaflow.adept2.base.communication.rest.ResponseHandler respHandler, de.aristaflow.adept2.base.communication.rest.ExceptionHandler excpHandler, de.aristaflow.adept2.base.communication.rest.ServiceResourceConfig srConf, Supplier<com.fasterxml.jackson.databind.ObjectMapper> objectMapper, UnaryOperator<Exception> headerDataExcpAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close(UUID iteratorId)
This method is public to allow for inheriting theOperationResponse
annotations.EcRemoteIteratorData
getNext(UUID iteratorId, Integer count, Integer start)
This method is public to allow for inheriting theOperationResponse
annotations.EcRemoteIteratorData
getPrevious(UUID iteratorId, Integer count)
This method is public to allow for inheriting theOperationResponse
annotations.Long
keepAlive(UUID iteratorId, Long aliveTime)
This method is public to allow for inheriting theOperationResponse
annotations.-
Methods inherited from class de.aristaflow.ilm.ws.rest.model.common.collection.RemoteIteratorRest
initIteratorAndRespStatus
-
Methods inherited from class de.aristaflow.ilm.ws.rest.base.service.AbstractSubResource
adaptHeaderData, ensureReqMaxVersion, ensureReqMinVersion, getExceptionHandler, getLogger, getObjectMapper, getRequestHandler, getResponseHandler, getServiceResourceConfig, getWebService
-
-
-
-
Constructor Detail
-
EcRemoteIteratorRest
public EcRemoteIteratorRest(EcRemoteIteratorWebService service, de.aristaflow.adept2.base.communication.rest.RequestHandler reqHandler, de.aristaflow.adept2.base.communication.rest.ResponseHandler respHandler, de.aristaflow.adept2.base.communication.rest.ExceptionHandler excpHandler, de.aristaflow.adept2.base.communication.rest.ServiceResourceConfig srConf, Supplier<com.fasterxml.jackson.databind.ObjectMapper> objectMapper, UnaryOperator<Exception> headerDataExcpAdapter)
-
-
Method Detail
-
getNext
@GET @Path("/{iteratorId}/next") public EcRemoteIteratorData getNext(@PathParam("iteratorId") UUID iteratorId, @QueryParam("count") Integer count, @QueryParam("start") Integer start)
Description copied from class:RemoteIteratorRest
This method is public to allow for inheriting theOperationResponse
annotations.
-
getPrevious
@GET @Path("/{iteratorId}/previous") public EcRemoteIteratorData getPrevious(@PathParam("iteratorId") UUID iteratorId, @QueryParam("count") Integer count)
Description copied from class:RemoteIteratorRest
This method is public to allow for inheriting theOperationResponse
annotations.- Overrides:
getPrevious
in classRemoteIteratorRest<ExecutionContextResponse,EcRemoteIteratorData>
- See Also:
AddDataTransformatorRemoteIteratorWebService.getPrevious(UUID, Integer)
-
keepAlive
@GET @Path("/{iteratorId}/remaining-alive-time") public Long keepAlive(@PathParam("iteratorId") UUID iteratorId, @QueryParam("aliveTime") Long aliveTime)
Description copied from class:RemoteIteratorRest
This method is public to allow for inheriting theOperationResponse
annotations.- Overrides:
keepAlive
in classRemoteIteratorRest<ExecutionContextResponse,EcRemoteIteratorData>
- See Also:
AddDataTransformatorRemoteIteratorWebService.keepAlive(UUID, Long)
-
close
@DELETE @Path("/{iteratorId}") public void close(@PathParam("iteratorId") UUID iteratorId)
Description copied from class:RemoteIteratorRest
This method is public to allow for inheriting theOperationResponse
annotations.- Overrides:
close
in classRemoteIteratorRest<ExecutionContextResponse,EcRemoteIteratorData>
- See Also:
AddDataTransformatorRemoteIteratorWebService.close(UUID)
-
-