Package io.quarkus.test.common.http
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
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getValuein interfaceio.smallrye.config.ConfigSourceInterceptor- Overrides:
getValuein classio.smallrye.config.ExpressionConfigSourceInterceptor
-