Package org.openremote.container.web
Class QueryParameterInjectorFilter
java.lang.Object
org.openremote.container.web.QueryParameterInjectorFilter
- All Implemented Interfaces:
javax.ws.rs.client.ClientRequestFilter
@Provider
public class QueryParameterInjectorFilter
extends Object
implements javax.ws.rs.client.ClientRequestFilter
A filter for injecting query parameters into the request URI. The query parameters are extracted from the request
property
QUERY_PARAMETERS_PROPERTY. Any Protocol.DYNAMIC_VALUE_PLACEHOLDER in the query parameters
will be replaced with the DYNAMIC_VALUE_PROPERTY from the request. Any
Protocol.DYNAMIC_TIME_PLACEHOLDER_REGEXP in the query parameters will be replaced with the current system
time in the specified format with optional offset.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfilter(javax.ws.rs.client.ClientRequestContext requestContext)
-
Field Details
-
DYNAMIC_VALUE_PROPERTY
Set a property on the request using this name to inject dynamic string values into -
QUERY_PARAMETERS_PROPERTY
Set a property on the request using this name to inject query parameters; the value should be aMultivaluedMap. -
DYNAMIC_TIME_PATTERN
-
-
Constructor Details
-
QueryParameterInjectorFilter
public QueryParameterInjectorFilter()
-
-
Method Details
-
filter
- Specified by:
filterin interfacejavax.ws.rs.client.ClientRequestFilter- Throws:
IOException
-