Class ResInstRemoteIteratorRest
- java.lang.Object
-
- de.aristaflow.ilm.ws.rest.base.service.AbstractSubResource<AddDataTransformatorRemoteIteratorWebService<?,WI,?,?,NI>>
-
- de.aristaflow.ilm.ws.rest.model.common.collection.RemoteIteratorRest<ResourceInstance,ResInstRemoteIteratorData>
-
- de.aristaflow.ilm.ws.rest.model.resourcemodel.ResInstRemoteIteratorRest
-
@Produces("application/json") @Consumes("application/json") public class ResInstRemoteIteratorRest extends RemoteIteratorRest<ResourceInstance,ResInstRemoteIteratorData>
ResExprEvalRemoteIteratorRest
is a copy of this class with changed operation IDs. Swagger needs this.- See Also:
RemoteIteratorRest
-
-
Constructor Summary
Constructors Constructor Description ResInstRemoteIteratorRest(ResInstRemoteIteratorWebService 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.ResInstRemoteIteratorData
getNext(UUID iteratorId, Integer count, Integer start)
This method is public to allow for inheriting theOperationResponse
annotations.ResInstRemoteIteratorData
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
-
ResInstRemoteIteratorRest
public ResInstRemoteIteratorRest(ResInstRemoteIteratorWebService 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 ResInstRemoteIteratorData 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<ResourceInstance,ResInstRemoteIteratorData>
- See Also:
AddDataTransformatorRemoteIteratorWebService.getNext(UUID, Integer, Integer)
-
getPrevious
@GET @Path("/{iteratorId}/previous") public ResInstRemoteIteratorData 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<ResourceInstance,ResInstRemoteIteratorData>
- 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<ResourceInstance,ResInstRemoteIteratorData>
- 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<ResourceInstance,ResInstRemoteIteratorData>
- See Also:
AddDataTransformatorRemoteIteratorWebService.close(UUID)
-
-