Package io.micrometer.core.instrument
Class HttpServerTimingInstrumentationVerificationTests.InstrumentedRoutes
java.lang.Object
io.micrometer.core.instrument.HttpServerTimingInstrumentationVerificationTests.InstrumentedRoutes
- Enclosing class:
HttpServerTimingInstrumentationVerificationTests
public static class HttpServerTimingInstrumentationVerificationTests.InstrumentedRoutes
extends Object
Class containing constants that can be used for implementing the HTTP routes that
the instrumented server needs to serve to pass the
HttpServerTimingInstrumentationVerificationTests. The HTTP server MUST
serve the following:
ROOT:GET /TEMPLATED_ROUTE:GET /hello/{name}REDIRECT:GET /foundRedirectERROR:POST /error
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringPath for the route that will respond with a 500 server error to a POST method request.static final StringPath for the route that will redirect with status code 302 to theROOTroute.static final StringPath for the root route.static final StringPath for the route with a path variable. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TEMPLATED_ROUTE
Path for the route with a path variable. The templated route is expected to be used in the URI tag.- See Also:
-
ROOT
Path for the root route.- See Also:
-
ERROR
Path for the route that will respond with a 500 server error to a POST method request.- See Also:
-
REDIRECT
Path for the route that will redirect with status code 302 to theROOTroute.- See Also:
-
-
Constructor Details
-
InstrumentedRoutes
public InstrumentedRoutes()
-