Class ScRemoteIteratorRest
- java.lang.Object
-
- de.aristaflow.ilm.ws.rest.base.service.AbstractSubResource<AddDataTransformatorRemoteIteratorWebService<?,WI,?,?,NI>>
-
- de.aristaflow.ilm.ws.rest.model.common.collection.RemoteIteratorRest<SessionContextResponse,ScRemoteIteratorData>
-
- de.aristaflow.ilm.ws.rest.model.runtimeenvironment.ScRemoteIteratorRest
-
@Produces("application/json") @Consumes("application/json") public class ScRemoteIteratorRest extends RemoteIteratorRest<SessionContextResponse,ScRemoteIteratorData>
- See Also:
RemoteIteratorRest
-
-
Constructor Summary
Constructors Constructor Description ScRemoteIteratorRest(ScRemoteIteratorWebService 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.ScRemoteIteratorData
getNext(UUID iteratorId, Integer count, Integer start)
This method is public to allow for inheriting theOperationResponse
annotations.ScRemoteIteratorData
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
-
ScRemoteIteratorRest
public ScRemoteIteratorRest(ScRemoteIteratorWebService 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 ScRemoteIteratorData 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.- Overrides:
getNext
in classRemoteIteratorRest<SessionContextResponse,ScRemoteIteratorData>
- See Also:
AddDataTransformatorRemoteIteratorWebService.getNext(UUID, Integer, Integer)
-
getPrevious
@GET @Path("/{iteratorId}/previous") public ScRemoteIteratorData 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<SessionContextResponse,ScRemoteIteratorData>
- 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<SessionContextResponse,ScRemoteIteratorData>
- 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<SessionContextResponse,ScRemoteIteratorData>
- See Also:
AddDataTransformatorRemoteIteratorWebService.close(UUID)
-
-