/** * Removes the values for the given keys if present and returns this object. * * @param keys The keys * @return This object */ public FluentStringsMap deleteAll(Collection<String> keys) { if (keys != null) { for (String key : keys) { remove(key); } } return this; }
/** * Removes the values for the given keys if present and returns this object. * * @param keys The keys * @return This object */ public FluentStringsMap deleteAll(String... keys) { if (keys != null) { for (String key : keys) { remove(key); } } return this; }
/** * Removes the values for the given keys if present and returns this object. * * @param keys The keys * @return This object */ public FluentStringsMap deleteAll(Collection<String> keys) { if (keys != null) { for (String key : keys) { remove(key); } } return this; }
/** * Removes the values for the given keys if present and returns this object. * * @param keys The keys * @return This object */ public FluentStringsMap deleteAll(String... keys) { if (keys != null) { for (String key : keys) { remove(key); } } return this; }
/** * Removes the values for the given keys if present and returns this object. * * @param keys The keys * @return This object */ public FluentStringsMap deleteAll(String... keys) { if (keys != null) { for (String key : keys) { remove(key); } } return this; }
/** * Removes the values for the given keys if present and returns this object. * * @param keys The keys * @return This object */ public FluentStringsMap deleteAll(Collection<String> keys) { if (keys != null) { for (String key : keys) { remove(key); } } return this; }
/** * Removes the values for the given keys if present and returns this object. * * @param keys The keys * @return This object */ public FluentStringsMap deleteAll(Collection<String> keys) { if (keys != null) { for (String key : keys) { remove(key); } } return this; }
/** * Removes the values for the given keys if present and returns this object. * * @param keys The keys * @return This object */ public FluentStringsMap deleteAll(String... keys) { if (keys != null) { for (String key : keys) { remove(key); } } return this; }
@Override protected AsyncHttpClient.BoundRequestBuilder configureAHC(Request request) { FluentStringsMap m = DefaultSocket.decodeQueryString(request); m.put("X-Atmosphere-Transport", Arrays.asList(new String[]{"polling"})); m.remove("X-atmo-protocol"); return options.runtime().preparePost(request.uri()) .setHeaders(request.headers()) .setQueryParams(m) .setMethod(Request.METHOD.POST.name()); } }
@Override protected AsyncHttpClient.BoundRequestBuilder configureAHC(Request request) { FluentStringsMap m = DefaultSocket.decodeQueryString(request); m.put("X-Atmosphere-Transport", Arrays.asList(new String[]{"polling"})); m.remove("X-atmo-protocol"); return options.runtime().preparePost(request.uri()) .setHeaders(request.headers()) .setQueryParams(m) .setMethod(Request.METHOD.POST.name()); } }