Class TestServerWebServicesWithOperationName
java.lang.Object
org.eclipse.microprofile.opentracing.tck.application.TestServerWebServicesWithOperationName
@Traced(operationName="wsOperations")
@Path("testServicesWithOpName")
public class TestServerWebServicesWithOperationName
extends Object
Test JAXRS web services.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTraced operationName prefix.static final StringExplicit endpoint operation name.static final StringWeb service endpoint with an explicit operation name on the class and endpoint.static final StringWeb service endpoint with an explicit operation name on the class.static final StringThe path to this set of web services. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponseTest class and endpoint with Traced annotation and operation name.jakarta.ws.rs.core.ResponseTest class with Traced annotation and operation name.
-
Field Details
-
REST_TEST_SERVICE_PATH_WITH_OP_NAME
The path to this set of web services.- See Also:
-
CLASS_OPERATION_NAME
Traced operationName prefix.- See Also:
-
REST_OPERATION_CLASS_OP_NAME
Web service endpoint with an explicit operation name on the class.- See Also:
-
REST_OPERATION_CLASS_AND_METHOD_OP_NAME
Web service endpoint with an explicit operation name on the class and endpoint.- See Also:
-
ENDPOINT_OPERATION_NAME
Explicit endpoint operation name.- See Also:
-
-
Constructor Details
-
TestServerWebServicesWithOperationName
public TestServerWebServicesWithOperationName()
-
-
Method Details
-
classOperationName
@GET @Path("classOperationName") @Produces("text/plain") public jakarta.ws.rs.core.Response classOperationName()Test class with Traced annotation and operation name.- Returns:
- OK response
-
classAndMethodOperationName
@Traced(operationName="endpointName") @GET @Path("classAndMethodOperationName") @Produces("text/plain") public jakarta.ws.rs.core.Response classAndMethodOperationName()Test class and endpoint with Traced annotation and operation name.- Returns:
- OK response
-