public static class ContentfulUserAgentHeaderInterceptor.Section
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem
Fixed enumeration of what operating systems we support.
|
static class |
ContentfulUserAgentHeaderInterceptor.Section.Version
Defines a version of this section.
|
public static ContentfulUserAgentHeaderInterceptor.Section integration(java.lang.String name, ContentfulUserAgentHeaderInterceptor.Section.Version version)
name
- of the app.version
- of the app.public static ContentfulUserAgentHeaderInterceptor.Section sdk(java.lang.String name, ContentfulUserAgentHeaderInterceptor.Section.Version version)
name
- of the sdk.version
- of the sdk.public static ContentfulUserAgentHeaderInterceptor.Section platform(java.lang.String name, ContentfulUserAgentHeaderInterceptor.Section.Version version)
name
- of the platform.version
- of the platform.public static ContentfulUserAgentHeaderInterceptor.Section os(ContentfulUserAgentHeaderInterceptor.Section.OperatingSystem os, ContentfulUserAgentHeaderInterceptor.Section.Version version)
os
- one of the supported and understood operation systems.version
- the version of the os.public static ContentfulUserAgentHeaderInterceptor.Section app(java.lang.String name, ContentfulUserAgentHeaderInterceptor.Section.Version version)
name
- of the app.version
- of the app.public java.lang.String getName()
public ContentfulUserAgentHeaderInterceptor.Section.Version getVersion()
public java.lang.String getIdentifier()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.