public class ContentfulUserAgentHeaderInterceptor extends HeaderInterceptor
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentfulUserAgentHeaderInterceptor.Section
A section of values used to fill out the Contentful custom HTTP header.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HEADER_NAME |
| Constructor and Description |
|---|
ContentfulUserAgentHeaderInterceptor(ContentfulUserAgentHeaderInterceptor.Section... sections)
Create Header interceptor, saving parameters.
|
getName, getValue, interceptpublic static final java.lang.String HEADER_NAME
public ContentfulUserAgentHeaderInterceptor(ContentfulUserAgentHeaderInterceptor.Section... sections)
sections - a list of sections to be used to identify this application.Copyright © 2019 Contentful, GmbH.. All Rights Reserved.