io.vertx.up.uca.rs.argument.CookieFiller Maven / Gradle / Ivy
package io.vertx.up.uca.rs.argument;
import io.vertx.ext.web.Cookie;
import io.vertx.ext.web.RoutingContext;
import io.vertx.up.uca.rs.Filler;
public class CookieFiller implements Filler {
@Override
public Object apply(final String name,
final Class> paramType,
final RoutingContext context) {
final Cookie cookie = context.getCookie(name);
return cookie.getValue();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy