Package | Description |
---|---|
org.eclipse.microprofile.openapi.models.media |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
Modifier and Type | Method and Description |
---|---|
Encoding |
Encoding.allowReserved(Boolean allowReserved)
AllowReserved determines whether the parameter value SHOULD allow reserved characters to be encoded without percent-encoding.
|
Encoding |
Encoding.contentType(String contentType)
The Content-Type for encoding a specific property.
|
Encoding |
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.
|
Encoding |
Encoding.headers(Map<String,Header> headers)
Headers property of an Encoding is a map that allows additional information to be provided as headers
|
Encoding |
Encoding.style(Encoding.Style style)
Style describes how the encoding value will be serialized depending on the type of the parameter value.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Encoding> |
MediaType.getEncoding()
Returns the encoding property from a MediaType instance.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
MediaType.addEncoding(String key,
Encoding encodingItem)
Adds an Encoding item to the encoding property of a MediaType instance.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
MediaType.encoding(Map<String,Encoding> encoding)
Sets encoding property of a MediaType instance to the given map object.
|
void |
MediaType.setEncoding(Map<String,Encoding> encoding)
Sets encoding property of a MediaType instance to the given map object.
|
Copyright © 2017–2018 Eclipse MicroProfile. All rights reserved.