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:
  • Field Details

    • TEMPLATED_ROUTE

      public static final String 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

      public static final String ROOT
      Path for the root route.
      See Also:
    • ERROR

      public static final String ERROR
      Path for the route that will respond with a 500 server error to a POST method request.
      See Also:
    • REDIRECT

      public static final String REDIRECT
      Path for the route that will redirect with status code 302 to the ROOT route.
      See Also:
  • Constructor Details

    • InstrumentedRoutes

      public InstrumentedRoutes()