Package org.eclipse.microprofile.lra
Class LRAResponse
java.lang.Object
org.eclipse.microprofile.lra.LRAResponse
The utility class that will create the correct
Response or
Response.ResponseBuilder for the response that should be returned from the LRA JAX-RS
methods.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.ws.rs.core.Responsestatic jakarta.ws.rs.core.Responsecompensated(Object entity) static jakarta.ws.rs.core.Responsestatic jakarta.ws.rs.core.Responsecompensating(Object entity) static jakarta.ws.rs.core.Responsestatic jakarta.ws.rs.core.Responsestatic jakarta.ws.rs.core.Responsestatic jakarta.ws.rs.core.Responsecompleting(Object entity) static jakarta.ws.rs.core.Responsestatic jakarta.ws.rs.core.ResponsefailedToCompensate(Object entity) static jakarta.ws.rs.core.Responsestatic jakarta.ws.rs.core.ResponsefailedToComplete(Object entity)
-
Method Details
-
compensated
public static jakarta.ws.rs.core.Response compensated() -
compensated
-
compensating
public static jakarta.ws.rs.core.Response compensating() -
compensating
-
failedToCompensate
public static jakarta.ws.rs.core.Response failedToCompensate() -
failedToCompensate
-
completed
public static jakarta.ws.rs.core.Response completed() -
completed
-
completing
public static jakarta.ws.rs.core.Response completing() -
completing
-
failedToComplete
public static jakarta.ws.rs.core.Response failedToComplete() -
failedToComplete
-