Class OAResponse
java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.plugin.openapi.spec.OAResponse
An OpenAPI response object.
- Author:
- scf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContent(String name, OAMediaType item) voidgetContent(String name) getRef()booleanhasContent(String name) booleanvoidsetContent(Map<String, OAMediaType> content) voidsetDescription(String description) voidsetHeaders(Map<String, OAHeader> headers) void
-
Constructor Details
-
OAResponse
public OAResponse()
-
-
Method Details
-
addHeader
-
hasHeader
-
getHeader
-
addContent
-
hasContent
-
getContent
-
getRef
- Returns:
- the ref
-
setRef
- Parameters:
ref- the ref to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- the description to set
-
getHeaders
- Returns:
- the headers
-
setHeaders
- Parameters:
headers- the headers to set
-
getContent
- Returns:
- the content
-
setContent
- Parameters:
content- the content to set
-