@Path(value="rest-at-participant/{participantId}") public final class ParticipantResource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BASE_PATH_SEGMENT |
Constructor and Description |
---|
ParticipantResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
forgetHeuristic(String participantId) |
javax.ws.rs.core.Response |
getStatus(String participantId) |
javax.ws.rs.core.Response |
getTerminatorUrl(String participantId,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
terminate(String participantId,
String content) |
public static final String BASE_PATH_SEGMENT
@HEAD public javax.ws.rs.core.Response getTerminatorUrl(@PathParam(value="participantId") String participantId, @Context javax.ws.rs.core.UriInfo uriInfo)
@GET @Produces(value="application/txstatus") public javax.ws.rs.core.Response getStatus(@PathParam(value="participantId") String participantId)
@PUT @Consumes(value="application/txstatus") @Produces(value="application/txstatus") public javax.ws.rs.core.Response terminate(@PathParam(value="participantId") String participantId, String content) throws HeuristicException
HeuristicException
@DELETE public javax.ws.rs.core.Response forgetHeuristic(@PathParam(value="participantId") String participantId)
Copyright © 2021 JBoss by Red Hat. All rights reserved.