Class TestHTTPConfigSourceInterceptor

java.lang.Object
io.smallrye.config.ExpressionConfigSourceInterceptor
io.quarkus.test.common.http.TestHTTPConfigSourceInterceptor
All Implemented Interfaces:
io.smallrye.config.ConfigSourceInterceptor, Serializable

@Deprecated(forRemoval=true) @Priority(3299) public class TestHTTPConfigSourceInterceptor extends io.smallrye.config.ExpressionConfigSourceInterceptor
Deprecated, for removal: This API element is subject to removal in a future version.
Override the expression expansion for test urls so they can be sanitized. A simple interceptor does not work because the test urls values are nested expressions, so when the default expression interceptor runs, either we get the full value expanded or the value unexpanded. In most cases, the test urls are used as expressions, so we need to intercept the expression expansion directly to rewrite what we need.
See Also:
  • Field Summary

    Fields inherited from interface io.smallrye.config.ConfigSourceInterceptor

    EMPTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.smallrye.config.ConfigValue
    getValue(io.smallrye.config.ConfigSourceInterceptorContext context, String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.smallrye.config.ConfigSourceInterceptor

    iterateNames
  • Constructor Details

    • TestHTTPConfigSourceInterceptor

      public TestHTTPConfigSourceInterceptor()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getValue

      public io.smallrye.config.ConfigValue getValue(io.smallrye.config.ConfigSourceInterceptorContext context, String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getValue in interface io.smallrye.config.ConfigSourceInterceptor
      Overrides:
      getValue in class io.smallrye.config.ExpressionConfigSourceInterceptor