io.undertow.util.Cookies Java Examples
The following examples show how to use
io.undertow.util.Cookies.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: HttpServerExchange.java From quarkus-http with Apache License 2.0 | 5 votes |
/** * @return A mutable map of request cookies */ public Map<String, Cookie> getRequestCookies() { if (requestCookies == null) { requestCookies = Cookies.parseRequestCookies( delegate.getUndertowOptions().get(UndertowOptions.MAX_COOKIES, 200), delegate.getUndertowOptions().get(UndertowOptions.ALLOW_EQUALS_IN_COOKIE_VALUE, false), delegate.getRequestHeaders(HttpHeaderNames.COOKIE)); } return requestCookies; }
Example #2
Source File: HttpServerExchange.java From lams with GNU General Public License v2.0 | 5 votes |
/** * @return A mutable map of request cookies */ public Map<String, Cookie> getRequestCookies() { if (requestCookies == null) { requestCookies = Cookies.parseRequestCookies( getConnection().getUndertowOptions().get(UndertowOptions.MAX_COOKIES, 200), getConnection().getUndertowOptions().get(UndertowOptions.ALLOW_EQUALS_IN_COOKIE_VALUE, false), requestHeaders.get(Headers.COOKIE)); } return requestCookies; }
Example #3
Source File: EventsPath.java From PYX-Reloaded with Apache License 2.0 | 4 votes |
private static Map<String, Cookie> getRequestCookies(WebSocketHttpExchange exchange) { return Cookies.parseRequestCookies(200, false, exchange.getRequestHeaders().get(Headers.COOKIE_STRING)); }