Polish log message
This commit is contained in:
parent
008cbc2cae
commit
5c56bddbdd
|
@ -81,10 +81,10 @@ public class CookieServerRequestCache implements ServerRequestCache {
|
||||||
.map((m) -> exchange.getResponse())
|
.map((m) -> exchange.getResponse())
|
||||||
.map(ServerHttpResponse::getCookies)
|
.map(ServerHttpResponse::getCookies)
|
||||||
.doOnNext((cookies) -> {
|
.doOnNext((cookies) -> {
|
||||||
ResponseCookie.ResponseCookieBuilder redirectUriCookie = createRedirectUriCookieBuilder(
|
ResponseCookie.ResponseCookieBuilder builder = createRedirectUriCookieBuilder(exchange.getRequest());
|
||||||
exchange.getRequest());
|
this.cookieCustomizer.accept(builder);
|
||||||
this.cookieCustomizer.accept(redirectUriCookie);
|
ResponseCookie redirectUriCookie = builder.build();
|
||||||
cookies.add(REDIRECT_URI_COOKIE_NAME, redirectUriCookie.build());
|
cookies.add(REDIRECT_URI_COOKIE_NAME, redirectUriCookie);
|
||||||
logger.debug(LogMessage.format("Request added to Cookie: %s", redirectUriCookie));
|
logger.debug(LogMessage.format("Request added to Cookie: %s", redirectUriCookie));
|
||||||
})
|
})
|
||||||
.then();
|
.then();
|
||||||
|
|
Loading…
Reference in New Issue