Class JaxRsHttpHeaders
java.lang.Object
io.micronaut.jaxrs.runtime.ext.bind.JaxRsHttpHeaders
- All Implemented Interfaces:
HttpHeaders
Adapter class for JAR-RS headers.
- Since:
- 1.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface jakarta.ws.rs.core.HttpHeaders
ACCEPT, ACCEPT_CHARSET, ACCEPT_ENCODING, ACCEPT_LANGUAGE, ALLOW, AUTHORIZATION, CACHE_CONTROL, CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_ID, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_LOCATION, CONTENT_TYPE, COOKIE, DATE, ETAG, EXPECT, EXPIRES, HOST, IF_MATCH, IF_MODIFIED_SINCE, IF_NONE_MATCH, IF_UNMODIFIED_SINCE, LAST_EVENT_ID_HEADER, LAST_MODIFIED, LINK, LOCATION, RETRY_AFTER, SET_COOKIE, USER_AGENT, VARY, WWW_AUTHENTICATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDate()
getHeaderString
(String name) int
getRequestHeader
(String name)
-
Constructor Details
-
JaxRsHttpHeaders
Default constructor.- Parameters:
httpHeaders
- The Micronaut headers
-
-
Method Details
-
getRequestHeader
- Specified by:
getRequestHeader
in interfaceHttpHeaders
-
getHeaderString
- Specified by:
getHeaderString
in interfaceHttpHeaders
-
getRequestHeaders
- Specified by:
getRequestHeaders
in interfaceHttpHeaders
-
getAcceptableMediaTypes
- Specified by:
getAcceptableMediaTypes
in interfaceHttpHeaders
-
getAcceptableLanguages
- Specified by:
getAcceptableLanguages
in interfaceHttpHeaders
-
getMediaType
- Specified by:
getMediaType
in interfaceHttpHeaders
-
getLanguage
- Specified by:
getLanguage
in interfaceHttpHeaders
-
getCookies
- Specified by:
getCookies
in interfaceHttpHeaders
-
getDate
- Specified by:
getDate
in interfaceHttpHeaders
-
getLength
public int getLength()- Specified by:
getLength
in interfaceHttpHeaders
-