Package | Description |
---|---|
org.eclipse.microprofile.openapi.models.headers |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.models.media |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.models.parameters |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.models.responses |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
Modifier and Type | Method and Description |
---|---|
Content |
Header.getContent()
Returns the content property from a Header instance.
|
Modifier and Type | Method and Description |
---|---|
Header |
Header.content(Content content)
Sets this Header's content property to the given object.
|
void |
Header.setContent(Content content)
Sets this Header's content property to the given object.
|
Modifier and Type | Method and Description |
---|---|
Content |
Content.addMediaType(String name,
MediaType mediaType)
Adds the MediaType for this Content, where the key is the name of the MediaType and the value is the object that describes the content passed
into or returned from an operation.
|
Modifier and Type | Method and Description |
---|---|
Content |
RequestBody.getContent()
Returns the content of this instance of RequestBody, where the keys in content are media type names and the values describe it.
|
Content |
Parameter.getContent()
Returns the content property from a Parameter instance.
|
Modifier and Type | Method and Description |
---|---|
RequestBody |
RequestBody.content(Content content)
Sets the content of this instance of RequestBody, where the keys in content are media type names and the values describe it.
|
Parameter |
Parameter.content(Content content)
Sets the content property of a Parameter instance to the given object.
|
void |
RequestBody.setContent(Content content)
Sets the content of this instance of RequestBody, where the keys in content are media type names and the values describe it.
|
void |
Parameter.setContent(Content content)
Sets the content property of a Parameter instance to the given object.
|
Modifier and Type | Method and Description |
---|---|
Content |
APIResponse.getContent()
Returns the map containing descriptions of potential response payload for this instance of ApiResponse.
|
Modifier and Type | Method and Description |
---|---|
APIResponse |
APIResponse.content(Content content)
Sets the map containing descriptions of potential response payload for this instance of ApiResponse and returns this ApiResponse instance.
|
void |
APIResponse.setContent(Content content)
Sets the map containing descriptions of potential response payload for this instance of ApiResponse.
|
Copyright © 2017–2018 Eclipse MicroProfile. All rights reserved.