Class ParticipantProxyResource
- java.lang.Object
-
- io.narayana.lra.client.internal.proxy.ParticipantProxyResource
-
@ApplicationScoped @Path("lraproxy") public class ParticipantProxyResource extends Object
-
-
Constructor Summary
Constructors Constructor Description ParticipantProxyResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Responsecompensate(String lraId, String participantId, String participantData)jakarta.ws.rs.core.Responsecomplete(String lraId, String participantId, String participantData)voidforget(String lraId, String participantId)Stringstatus(String lraId, String participantId)
-
-
-
Method Detail
-
complete
@Path("{lraId}/{pId}/complete") @PUT public jakarta.ws.rs.core.Response complete(@PathParam("lraId") String lraId, @PathParam("pId") String participantId, String participantData) throws URISyntaxException, UnsupportedEncodingException
-
compensate
@Path("{lraId}/{pId}/compensate") @PUT public jakarta.ws.rs.core.Response compensate(@PathParam("lraId") String lraId, @PathParam("pId") String participantId, String participantData) throws URISyntaxException, UnsupportedEncodingException
-
forget
@Path("{lraId}/{pId}") @DELETE public void forget(@PathParam("lraId") String lraId, @PathParam("pId") String participantId) throws URISyntaxException, UnsupportedEncodingException
-
status
@Path("{lraId}/{pId}") @GET public String status(@PathParam("lraId") String lraId, @PathParam("pId") String participantId) throws UnsupportedEncodingException, io.narayana.lra.client.internal.proxy.InvalidLRAStateException- Throws:
UnsupportedEncodingExceptionio.narayana.lra.client.internal.proxy.InvalidLRAStateException
-
-