| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Method and Description |
|---|---|
| public Encoding | Returns: the current Encoding objecta key conforming to the format required for this object key, Header the header object. null values will be rejected (implementation will throw an exception) or ignored. header)Adds the given header to this Encoding' list of headers with the given string as its key. |
| public default Encoding | Returns: Encodinga boolean that determines whether the parameter value SHOULD allow reserved characters allowReserved)AllowReserved determines whether the parameter value SHOULD allow reserved characters to be encoded without percent-encoding. |
| public default Encoding | Returns: Encodinga string that describes the type of content of the encoding contentType)The Content-Type for encoding a specific property. |
| public default Encoding | |
| public Boolean | Returns: Boolean allowReservedAllowReserved determines whether the parameter value SHOULD allow reserved characters to be encoded without percent-encoding. |
| public String | |
| public Boolean | Returns: Boolean explodeWhen this is true, property values of type array or object generate separate parameters for each value of the array, or key-value-pair of the map. |
| public Map | Returns: a copy Map (potentially immutable) containing headersHeaders property of an Encoding is a map that allows additional information to be provided as headers This method returns the headers property from a Encoding instance. |
| public Encoding. | Returns: String styleStyle describes how the encoding value will be serialized depending on the type of the parameter value. |
| public default Encoding | Returns: Encodinga map of name to corresponding header object headers)Headers property of an Encoding is a map that allows additional information to be provided as headers This method sets the headers property of Encoding instance to the passed headers argument and returns the modified instance. |
| public void | removeHeader(String
a key conforming to the format required for this object key)Removes the given header to this Encoding' list of headers with the given string as its key. |
| public void | setAllowReserved(Boolean
a boolean that determines whether the parameter value SHOULD allow reserved characters allowReserved)AllowReserved determines whether the parameter value SHOULD allow reserved characters to be encoded without percent-encoding. |
| public void | setContentType(String
a string that describes the type of content of the encoding contentType)The Content-Type for encoding a specific property. |
| public void | setExplode(Boolean
a boolean that indicates whether the property values of array or object will generate separate
parameters explode)When this is true, property values of type array or object generate separate parameters for each value of the array, or key-value-pair of the map. |
| public void | setHeaders(Map<String, Header>
a map of name to corresponding header object headers)Headers property of an Encoding is a map that allows additional information to be provided as headers This method sets the headers property of Encoding instance to the passed headers argument. |
| public void | |
| public default Encoding |
| addHeader | back to summary |
|---|---|
| public Encoding addHeader(String key, Header header) Adds the given header to this Encoding' list of headers with the given string as its key. | |
| allowReserved | back to summary |
|---|---|
| public default Encoding allowReserved(Boolean allowReserved) AllowReserved determines whether the parameter value SHOULD allow reserved characters to be encoded without percent-encoding. This method sets the allowReserved property of Encoding instance to the given allowReserved argument and returns the instance. | |
| contentType | back to summary |
|---|---|
| public default Encoding contentType(String contentType) The Content-Type for encoding a specific property. Default value depends on the property type: i.e. for binary string - contentType is application/octet-stream, for primitive types - text/plain, for object - application/json. This method sets contentType property for the Encoding instance to the passed parameter and returns the modified instance | |
| explode | back to summary |
|---|---|
| public default Encoding explode(Boolean explode) When this is true, property values of type array or object generate separate parameters for each value of the array, or key-value-pair of the map. For other types of properties this property has no effect. When style is form, the default value is true. For all other styles, the default value is false. This method sets the explode property of Encoding instance to the given explode argument and returns the instance. | |
| getAllowReserved | back to summary |
|---|---|
| public Boolean getAllowReserved() AllowReserved determines whether the parameter value SHOULD allow reserved characters to be encoded without percent-encoding. This method returns the allowReserved property from a Encoding instance.
| |
| getContentType | back to summary |
|---|---|
| public String getContentType() The Content-Type for encoding a specific property. Default value depends on the property type: i.e. for binary string - contentType is application/octet-stream, for primitive types - text/plain, for object - application/json. This method returns the contentType property from an Encoding instance.
| |
| getExplode | back to summary |
|---|---|
| public Boolean getExplode() When this is true, property values of type array or object generate separate parameters for each value of the array, or key-value-pair of the map. For other types of properties this property has no effect. When style is form, the default value is true. For all other styles, the default value is false. This method returns the explode property from a Encoding instance.
| |
| getHeaders | back to summary |
|---|---|
| public Map Headers property of an Encoding is a map that allows additional information to be provided as headers This method returns the headers property from a Encoding instance. | |
| getStyle | back to summary |
|---|---|
| public Encoding. Style describes how the encoding value will be serialized depending on the type of the parameter value. This method returns the style property from a Encoding instance. | |
| headers | back to summary |
|---|---|
| public default Encoding headers(Map<String, Header> headers) Headers property of an Encoding is a map that allows additional information to be provided as headers This method sets the headers property of Encoding instance to the passed headers argument and returns the modified instance. | |
| removeHeader | back to summary |
|---|---|
| public void removeHeader(String key) Removes the given header to this Encoding' list of headers with the given string as its key.
| |
| setAllowReserved | back to summary |
|---|---|
| public void setAllowReserved(Boolean allowReserved) AllowReserved determines whether the parameter value SHOULD allow reserved characters to be encoded without percent-encoding. This method sets the allowReserved property to the given allowReserved argument.
| |
| setContentType | back to summary |
|---|---|
| public void setContentType(String contentType) The Content-Type for encoding a specific property. Default value depends on the property type: i.e. for binary string - contentType is application/octet-stream, for primitive types - text/plain, for object - application/json. This method sets thecontentType property of an Encoding instance to the passed contentType parameter.
| |
| setExplode | back to summary |
|---|---|
| public void setExplode(Boolean explode) When this is true, property values of type array or object generate separate parameters for each value of the array, or key-value-pair of the map. For other types of properties this property has no effect. When style is form, the default value is true. For all other styles, the default value is false. This method sets the explode property of Encoding instance to the given explode argument.
| |
| setHeaders | back to summary |
|---|---|
| public void setHeaders(Map<String, Header> headers) Headers property of an Encoding is a map that allows additional information to be provided as headers This method sets the headers property of Encoding instance to the passed headers argument. | |
| setStyle | back to summary |
|---|---|
| public void setStyle(Encoding. Style describes how the encoding value will be serialized depending on the type of the parameter value. This method sets the style property of Encoding instance to the given style argument. | |
| style | back to summary |
|---|---|
| public default Encoding style(Encoding. Style describes how the encoding value will be serialized depending on the type of the parameter value. This method sets the style property of Encoding instance to the passed style argument and returns the modified instance | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Encoding. | |
| public static final Encoding. | |
| public static final Encoding. | |
| public static final Encoding. | |
| private String |
| Modifier and Type | Method and Description |
|---|---|
| public String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static Encoding. | |
| public static Encoding. |
| DEEP_OBJECT | back to summary |
|---|---|
| public static final Encoding. | |
| FORM | back to summary |
|---|---|
| public static final Encoding. | |
| PIPE_DELIMITED | back to summary |
|---|---|
| public static final Encoding. | |
| SPACE_DELIMITED | back to summary |
|---|---|
| public static final Encoding. | |
| value | back to summary |
|---|---|
| private String value | |
| Style | back to summary |
|---|---|
| private Style(String value) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| valueOf | back to summary |
|---|---|
| public static Encoding. | |
| values | back to summary |
|---|---|
| public static Encoding. | |