Class ContentfulUserAgentHeaderInterceptor

  • All Implemented Interfaces:
    okhttp3.Interceptor

    public class ContentfulUserAgentHeaderInterceptor
    extends HeaderInterceptor
    This header interceptor will add contentful relevant information to the custom user agent header.
    • Constructor Detail

      • ContentfulUserAgentHeaderInterceptor

        public ContentfulUserAgentHeaderInterceptor​(ContentfulUserAgentHeaderInterceptor.Section... sections)
        Create Header interceptor, saving parameters.
        Parameters:
        sections - a list of sections to be used to identify this application.