Class TwitchExtensionsClientIdInterceptor
java.lang.Object
com.github.twitch4j.extensions.util.TwitchExtensionsClientIdInterceptor
- All Implemented Interfaces:
feign.RequestInterceptor
Injects Client-ID and User-Agent in each API request
-
Constructor Summary
ConstructorDescriptionConstructor -
Method Summary
-
Constructor Details
-
TwitchExtensionsClientIdInterceptor
Constructor- Parameters:
builder
- Twitch Extensions Builder
-
-
Method Details
-
apply
public void apply(feign.RequestTemplate template) Interceptor- Specified by:
apply
in interfacefeign.RequestInterceptor
- Parameters:
template
- Feign RequestTemplate
-