Skip to content

Instantly share code, notes, and snippets.

@xstefank
Created April 27, 2019 16:55
Show Gist options
  • Save xstefank/6dc7ab62511a51a2cbecdcaaedd73ad3 to your computer and use it in GitHub Desktop.
Save xstefank/6dc7ab62511a51a2cbecdcaaedd73ad3 to your computer and use it in GitHub Desktop.
public class InLRA {
...
@PUT
@Path("complete")
@Complete
public Response complete() {
return Response.accepted().build();
}
@GET
@Path("status")
@Status
public Response status() {
return Response.ok(ParticipantStatus.Compensated).build();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment