public abstract class BaseRequestInterceptor extends Object implements feign.RequestInterceptor
Modifier | Constructor and Description |
---|---|
protected |
BaseRequestInterceptor(FeignClientEncodingProperties properties)
Creates new instance of
BaseRequestInterceptor . |
Modifier and Type | Method and Description |
---|---|
protected void |
addHeader(feign.RequestTemplate requestTemplate,
String name,
String... values)
Adds the header if it wasn't yet specified.
|
protected FeignClientEncodingProperties |
getProperties() |
protected BaseRequestInterceptor(FeignClientEncodingProperties properties)
BaseRequestInterceptor
.properties
- the encoding propertiesprotected void addHeader(feign.RequestTemplate requestTemplate, String name, String... values)
requestTemplate
- the requestname
- the header namevalues
- the header valuesprotected FeignClientEncodingProperties getProperties()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.