/** * Get immutable empty message headers container. The factory method can be * used to for both message header container types – inbound * as well as outbound. * * @param <V> header value type. Typically {@link Object} in case of the outbound * headers and {@link String} in case of the inbound headers. * @return an immutable empty message headers container. */ public static <V> MultivaluedMap<String, V> empty() { return ImmutableMultivaluedMap.empty(); }
/** * Get immutable empty message headers container. The factory method can be * used to for both message header container types – inbound * as well as outbound. * * @param <V> header value type. Typically {@link Object} in case of the outbound * headers and {@link String} in case of the inbound headers. * @return an immutable empty message headers container. */ public static <V> MultivaluedMap<String, V> empty() { return ImmutableMultivaluedMap.empty(); }
public Token(final String token, final String secret, final Token requestToken) { this(token, secret, requestToken.getConsumer().getKey(), null, requestToken.principal, requestToken.roles, ImmutableMultivaluedMap.<String, String>empty()); }
/** * Get immutable empty message headers container. The factory method can be * used to for both message header container types – inbound * as well as outbound. * * @param <V> header value type. Typically {@link Object} in case of the outbound * headers and {@link String} in case of the inbound headers. * @return an immutable empty message headers container. */ public static <V> MultivaluedMap<String, V> empty() { return ImmutableMultivaluedMap.empty(); }
/** * Get immutable empty message headers container. The factory method can be * used to for both message header container types – inbound * as well as outbound. * * @param <V> header value type. Typically {@link Object} in case of the outbound * headers and {@link String} in case of the inbound headers. * @return an immutable empty message headers container. */ public static <V> MultivaluedMap<String, V> empty() { return ImmutableMultivaluedMap.empty(); }
/** * Get immutable empty message headers container. The factory method can be * used to for both message header container types – inbound * as well as outbound. * * @param <V> header value type. Typically {@link Object} in case of the outbound * headers and {@link String} in case of the inbound headers. * @return an immutable empty message headers container. */ public static <V> MultivaluedMap<String, V> empty() { return ImmutableMultivaluedMap.empty(); }
/** * Get immutable empty message headers container. The factory method can be * used to for both message header container types – inbound * as well as outbound. * * @param <V> header value type. Typically {@link Object} in case of the outbound * headers and {@link String} in case of the inbound headers. * @return an immutable empty message headers container. */ public static <V> MultivaluedMap<String, V> empty() { return ImmutableMultivaluedMap.empty(); }
/** * Get immutable empty message headers container. The factory method can be * used to for both message header container types – inbound * as well as outbound. * * @param <V> header value type. Typically {@link Object} in case of the outbound * headers and {@link String} in case of the inbound headers. * @return an immutable empty message headers container. */ public static <V> MultivaluedMap<String, V> empty() { return ImmutableMultivaluedMap.empty(); }
public Token(final String token, final String secret, final Token requestToken) { this(token, secret, requestToken.getConsumer().getKey(), null, requestToken.principal, requestToken.roles, ImmutableMultivaluedMap.<String, String>empty()); }
public Token(final String token, final String secret, final Token requestToken) { this(token, secret, requestToken.getConsumer().getKey(), null, requestToken.principal, requestToken.roles, ImmutableMultivaluedMap.<String, String>empty()); }