public static ExchangeAttribute cookie(final String cookieName) { return new CookieAttribute(cookieName); }
@Override public ExchangeAttribute build(final String token) { if (token.startsWith("%{c,") && token.endsWith("}")) { final String cookieName = token.substring(4, token.length() - 1); return new CookieAttribute(cookieName); } return null; }
return new SubstituteEmptyWrapper.SubstituteEmptyAttribute(parser.parse("%{sc," + parameter + "}"),"-"); } else if ("C".equals(token)) { return new SubstituteEmptyWrapper.SubstituteEmptyAttribute(new CookieAttribute(parameter),"-"); } else if ("R".equals(token)) { return parser.parse("%{r," + parameter + "}");
public static ExchangeAttribute cookie(final String cookieName) { return new CookieAttribute(cookieName); }
public static ExchangeAttribute cookie(final String cookieName) { return new CookieAttribute(cookieName); }
@Override public ExchangeAttribute build(final String token) { if (token.startsWith("%{c,") && token.endsWith("}")) { final String cookieName = token.substring(4, token.length() - 1); return new CookieAttribute(cookieName); } return null; }
@Override public ExchangeAttribute build(final String token) { if (token.startsWith("%{c,") && token.endsWith("}")) { final String cookieName = token.substring(4, token.length() - 1); return new CookieAttribute(cookieName); } return null; }
return new SubstituteEmptyWrapper.SubstituteEmptyAttribute(parser.parse("%{sc," + parameter + "}"),"-"); } else if ("C".equals(token)) { return new SubstituteEmptyWrapper.SubstituteEmptyAttribute(new CookieAttribute(parameter),"-"); } else if ("R".equals(token)) { return parser.parse("%{r," + parameter + "}");
return new SubstituteEmptyWrapper.SubstituteEmptyAttribute(parser.parse("%{sc," + parameter + "}"),"-"); } else if ("C".equals(token)) { return new SubstituteEmptyWrapper.SubstituteEmptyAttribute(new CookieAttribute(parameter),"-"); } else if ("R".equals(token)) { return parser.parse("%{r," + parameter + "}");