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 Response compensated()
    • compensated

      public static Response compensated(Object entity)
    • compensating

      public static Response compensating()
    • compensating

      public static Response compensating(Object entity)
    • failedToCompensate

      public static Response failedToCompensate()
    • failedToCompensate

      public static Response failedToCompensate(Object entity)
    • completed

      public static Response completed()
    • completed

      public static Response completed(Object entity)
    • completing

      public static Response completing()
    • completing

      public static Response completing(Object entity)
    • failedToComplete

      public static Response failedToComplete()
    • failedToComplete

      public static Response failedToComplete(Object entity)