Uses of Interface
org.eclipse.microprofile.openapi.models.headers.Header
Packages that use Header
Package
Description
A set of Java interfaces, annotations and programming models which allow Java developers to natively produce OpenAPI
v3.1 documents from their Jakarta REST applications.
A set of interfaces for programmable models and their helper classes, many derived from Swagger Core library.
An interface of a programmable model to represent a single header object.
A set of interfaces for programmable models to represent input and output data types and media types.
Model interfaces to describe a single response from an API operation, and an annotation to encapsulate multiple
responses from an API operation.
-
Uses of Header in org.eclipse.microprofile.openapi
Methods in org.eclipse.microprofile.openapi that return HeaderModifier and TypeMethodDescriptionstatic HeaderOASFactory.createHeader()This method creates a newHeaderinstance.default HeaderOASFilter.filterHeader(Header header) Allows filtering of a particular Header.Methods in org.eclipse.microprofile.openapi with parameters of type HeaderModifier and TypeMethodDescriptiondefault HeaderOASFilter.filterHeader(Header header) Allows filtering of a particular Header. -
Uses of Header in org.eclipse.microprofile.openapi.models
Methods in org.eclipse.microprofile.openapi.models that return types with arguments of type HeaderModifier and TypeMethodDescriptionComponents.getHeaders()Returns the headers property from a Components instance.Methods in org.eclipse.microprofile.openapi.models with parameters of type HeaderModifier and TypeMethodDescriptionAdds the given header to this Components' map of headers with the given string as its key.Method parameters in org.eclipse.microprofile.openapi.models with type arguments of type HeaderModifier and TypeMethodDescriptiondefault ComponentsSets this Components' headers property to the given Map containing keys and reusable header objects.voidComponents.setHeaders(Map<String, Header> headers) Sets this Components' headers property to the given Map containing keys and reusable header objects. -
Uses of Header in org.eclipse.microprofile.openapi.models.headers
Methods in org.eclipse.microprofile.openapi.models.headers that return HeaderModifier and TypeMethodDescriptionHeader.addExample(String key, Example example) Adds an example of the header using the specified key to this Header instance.default HeaderHeader.allowEmptyValue(Boolean allowEmptyValue) Sets this Header's allowEmptyValue property to the given value.default HeaderSets this Header's content property to the given object.default HeaderHeader.deprecated(Boolean deprecated) Sets this Header's deprecated property to the given value.default HeaderHeader.description(String description) Sets this Header's description property to the given string.default HeaderSets this Header's example property to the given object.default HeaderSets the examples property of this Header instance to the given map.default HeaderSets this Header's explode property to the given value.default HeaderSets this Header's required property to the given value.default HeaderSets this Header's schema property to the given object.default HeaderHeader.style(Header.Style style) Sets this Header's style property to the given style. -
Uses of Header in org.eclipse.microprofile.openapi.models.media
Methods in org.eclipse.microprofile.openapi.models.media that return types with arguments of type HeaderModifier and TypeMethodDescriptionEncoding.getHeaders()Headers property of an Encoding is a map that allows additional information to be provided as headersMethods in org.eclipse.microprofile.openapi.models.media with parameters of type HeaderModifier and TypeMethodDescriptionAdds the given header to this Encoding' list of headers with the given string as its key.Method parameters in org.eclipse.microprofile.openapi.models.media with type arguments of type HeaderModifier and TypeMethodDescriptiondefault EncodingHeaders property of an Encoding is a map that allows additional information to be provided as headersvoidEncoding.setHeaders(Map<String, Header> headers) Headers property of an Encoding is a map that allows additional information to be provided as headers -
Uses of Header in org.eclipse.microprofile.openapi.models.responses
Methods in org.eclipse.microprofile.openapi.models.responses that return types with arguments of type HeaderModifier and TypeMethodDescriptionAPIResponse.getHeaders()Returns the map of Headers in this instance of ApiResponse.Methods in org.eclipse.microprofile.openapi.models.responses with parameters of type HeaderModifier and TypeMethodDescriptionAdds the given Header to this ApiResponse instance's map of Headers with the given name and return this instance of ApiResponse.Method parameters in org.eclipse.microprofile.openapi.models.responses with type arguments of type HeaderModifier and TypeMethodDescriptiondefault APIResponseSets the Headers for this instance of ApiResponse with the given map of Headers and returns this instance of ApiResponse.voidAPIResponse.setHeaders(Map<String, Header> headers) Sets the Headers for this instance of ApiResponse with the given map of Headers.