Class OriginRequest.WebFolder
-
- All Implemented Interfaces:
public final class OriginRequest.WebFolder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOriginRequest.WebFolder.BuilderA builder for WebFolder.
-
Method Summary
Modifier and Type Method Description final StringbaseUrl()Root URL for the web folder origin. final Stringname()Display name of the origin. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("WEB_FOLDER")final Optional<String>baseUrlForCanonicalHeader()URL used in the Canonical header (if enabled). final Optional<Boolean>forwardHostHeaderToOrigin()Forward the Host header to origin? final Optional<Boolean>includeCanonicalHeader()Whether to send a Canonical header. final JsonField<String>_baseUrl()Returns the raw JSON value of baseUrl. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_baseUrlForCanonicalHeader()Returns the raw JSON value of baseUrlForCanonicalHeader. final JsonField<Boolean>_forwardHostHeaderToOrigin()Returns the raw JSON value of forwardHostHeaderToOrigin. final JsonField<Boolean>_includeCanonicalHeader()Returns the raw JSON value of includeCanonicalHeader. final Map<String, JsonValue>_additionalProperties()final OriginRequest.WebFolder.BuildertoBuilder()final OriginRequest.WebFoldervalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OriginRequest.WebFolder.Builderbuilder()Returns a mutable builder for constructing an instance of WebFolder. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("WEB_FOLDER")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
baseUrlForCanonicalHeader
final Optional<String> baseUrlForCanonicalHeader()
URL used in the Canonical header (if enabled).
-
forwardHostHeaderToOrigin
final Optional<Boolean> forwardHostHeaderToOrigin()
Forward the Host header to origin?
-
includeCanonicalHeader
final Optional<Boolean> includeCanonicalHeader()
Whether to send a Canonical header.
-
_baseUrl
final JsonField<String> _baseUrl()
Returns the raw JSON value of baseUrl.
Unlike baseUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_baseUrlForCanonicalHeader
final JsonField<String> _baseUrlForCanonicalHeader()
Returns the raw JSON value of baseUrlForCanonicalHeader.
Unlike baseUrlForCanonicalHeader, this method doesn't throw if the JSON field has an unexpected type.
-
_forwardHostHeaderToOrigin
final JsonField<Boolean> _forwardHostHeaderToOrigin()
Returns the raw JSON value of forwardHostHeaderToOrigin.
Unlike forwardHostHeaderToOrigin, this method doesn't throw if the JSON field has an unexpected type.
-
_includeCanonicalHeader
final JsonField<Boolean> _includeCanonicalHeader()
Returns the raw JSON value of includeCanonicalHeader.
Unlike includeCanonicalHeader, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final OriginRequest.WebFolder.Builder toBuilder()
-
validate
final OriginRequest.WebFolder validate()
-
builder
final static OriginRequest.WebFolder.Builder builder()
Returns a mutable builder for constructing an instance of WebFolder.
The following fields are required:
.baseUrl() .name()
-
-
-
-