Class ClientVersioningConfiguration
java.lang.Object
io.micronaut.http.client.interceptor.configuration.ClientVersioningConfiguration
- Direct Known Subclasses:
DefaultClientVersioningConfiguration
,NamedClientVersioningConfiguration
A base configuration class for configuring
Client
versioning.- Since:
- 1.1.0
- Author:
- Bogdan Oros
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setHeaders
(List<String> headerNames) void
setParameters
(List<String> parameterNames)
-
Field Details
-
PREFIX
The prefix for versioning configuration.- See Also:
-
DEFAULT
The default configuration property name.- See Also:
-
-
Method Details
-
getClientName
- Returns:
- The ID of the client to apply the versioning for.
-
getHeaders
- Returns:
- The list of request header names.
-
getParameters
- Returns:
- The list of request query parameter names.
-
setHeaders
- Parameters:
headerNames
- The list of request header names.
-
setParameters
- Parameters:
parameterNames
- The list of request query parameter names.
-