Package com.abavilla.fpi.load.ext.rest
Interface LoadQueryApi
- All Superinterfaces:
com.abavilla.fpi.fw.rest.IApi
@RegisterRestClient(configKey="load-api")
@Consumes("application/json")
@Produces("application/json")
@RegisterProvider(com.abavilla.fpi.fw.exceptions.handler.ApiRepoExHandler.class)
@Retry(maxRetries=8,
retryOn=com.abavilla.fpi.fw.exceptions.AuthApiSvcEx.class,
delay=3L,
delayUnit=SECONDS,
jitter=1500L)
@ExponentialBackoff(maxDelay=25L,
maxDelayUnit=SECONDS)
public interface LoadQueryApi
extends com.abavilla.fpi.fw.rest.IApi
-
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<com.abavilla.fpi.fw.dto.impl.RespDto<LoadRespDto>>
-
Method Details
-
query
@POST @Path("query") io.smallrye.mutiny.Uni<com.abavilla.fpi.fw.dto.impl.RespDto<LoadRespDto>> query(QueryDto query, @HeaderParam("Authorization") String token)
-