Package | Description |
---|---|
org.cornutum.tcases.openapi.test |
Modifier and Type | Method and Description |
---|---|
static EncodingDef |
EncodingDef.forMultipartForm(String contentType,
List<HeaderDef> headers)
Returns an
EncodingDef for a multipart/form-data part. |
static EncodingDef |
EncodingDef.forSimpleValue(Boolean exploded)
Returns an
EncodingDef for a "simple" style value. |
static EncodingDef |
EncodingDef.forSimpleValue(String style,
Boolean exploded)
Returns an
EncodingDef for a "simple" style value. |
static EncodingDef |
EncodingDef.forUrlEncodedForm()
Returns a default
EncodingDef for an application/x-www-form-urlencoded part. |
static EncodingDef |
EncodingDef.forUrlEncodedForm(String style,
Boolean exploded)
Returns an
EncodingDef for an application/x-www-form-urlencoded part. |
EncodingDef |
AbstractDecoder.getEncodingDef()
Returns the content definition for this decoder.
|
EncodingDef |
FormUrlDecoder.getPropertyEncoding(String property)
Returns the content encoding for the given property.
|
EncodingDef |
ContentDef.getValueEncoding()
Returns the content value encoding.
|
Modifier and Type | Method and Description |
---|---|
Map<String,EncodingDef> |
FormUrlDecoder.getPropertyEncodings()
Returns the content object property encodings.
|
Map<String,EncodingDef> |
ContentDef.getPropertyEncodings()
Returns the content object property encodings.
|
Constructor and Description |
---|
AbstractDecoder(EncodingDef encodingDef)
Creates a new AbstractDecoder instance.
|
ContentDef(String contentType,
ObjectNode schema,
EncodingDef valueEncoding,
Map<String,EncodingDef> propertyEncodings)
Creates a new ContentDef instance.
|
SimpleDecoder(EncodingDef encoding)
Creates a new SimpleDecoder instance.
|
Constructor and Description |
---|
ContentDef(String contentType,
ObjectNode schema,
EncodingDef valueEncoding,
Map<String,EncodingDef> propertyEncodings)
Creates a new ContentDef instance.
|
Copyright © 2024 The Cornutum Project. All rights reserved.