Class InstanceExchangeFilterFunctions
java.lang.Object
de.codecentric.boot.admin.server.web.client.InstanceExchangeFilterFunctions
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionaddHeaders(HttpHeadersProvider httpHeadersProvider) convertLegacyEndpoints(List<LegacyEndpointConverter> converters) Creates theInstanceExchangeFilterFunctionthat could handle cookies during requests and responses to/from applications.
-
Field Details
-
ATTRIBUTE_ENDPOINT
- See Also:
-
-
Method Details
-
addHeaders
-
rewriteEndpointUrl
-
convertLegacyEndpoints
public static InstanceExchangeFilterFunction convertLegacyEndpoints(List<LegacyEndpointConverter> converters) -
setDefaultAcceptHeader
-
retry
public static InstanceExchangeFilterFunction retry(int defaultRetries, Map<String, Integer> retriesPerEndpoint) -
timeout
public static InstanceExchangeFilterFunction timeout(Duration defaultTimeout, Map<String, Duration> timeoutPerEndpoint) -
logfileAcceptWorkaround
-
handleCookies
Creates theInstanceExchangeFilterFunctionthat could handle cookies during requests and responses to/from applications.- Parameters:
store- the cookie store to use- Returns:
- the new filter function
-