Class ApiKeyRequestInterceptor

java.lang.Object
ch.rasc.jcentserverclient.ApiKeyRequestInterceptor
All Implemented Interfaces:
feign.RequestInterceptor

public class ApiKeyRequestInterceptor extends Object implements feign.RequestInterceptor
Request interceptor for adding Centrifugo API key authentication header.
  • Constructor Details

    • ApiKeyRequestInterceptor

      public ApiKeyRequestInterceptor(String apiKey)
  • Method Details

    • apply

      public void apply(feign.RequestTemplate template)
      Specified by:
      apply in interface feign.RequestInterceptor