Class LRAResponse

java.lang.Object
org.eclipse.microprofile.lra.LRAResponse

public final class LRAResponse extends Object
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.
  • Method Details

    • compensated

      public static jakarta.ws.rs.core.Response compensated()
    • compensated

      public static jakarta.ws.rs.core.Response compensated(Object entity)
    • compensating

      public static jakarta.ws.rs.core.Response compensating()
    • compensating

      public static jakarta.ws.rs.core.Response compensating(Object entity)
    • failedToCompensate

      public static jakarta.ws.rs.core.Response failedToCompensate()
    • failedToCompensate

      public static jakarta.ws.rs.core.Response failedToCompensate(Object entity)
    • completed

      public static jakarta.ws.rs.core.Response completed()
    • completed

      public static jakarta.ws.rs.core.Response completed(Object entity)
    • completing

      public static jakarta.ws.rs.core.Response completing()
    • completing

      public static jakarta.ws.rs.core.Response completing(Object entity)
    • failedToComplete

      public static jakarta.ws.rs.core.Response failedToComplete()
    • failedToComplete

      public static jakarta.ws.rs.core.Response failedToComplete(Object entity)