Package org.springframework.web.util

Examples of org.springframework.web.util.UriComponentsBuilder.queryParam()


    }

    if(null != params) {
      UriComponentsBuilder urib = UriComponentsBuilder.fromUri(requestUri);
      for(Object key : params.keySet()) {
        urib.queryParam(key.toString(), params.get(key));
      }
      requestUri = urib.build().toUri();
    }

    ExtractLinksHelper elh = new ExtractLinksHelper();
View Full Code Here


    UriComponentsBuilder ucb = createUriComponentsBuilder(path.getPath());
    if (null != params) {
      for (Object key : params.keySet()) {
        Object o = params.get(key);
        ucb.queryParam(key.toString(), encode(o.toString()));
      }
    }
    requestUri = ucb.build().toUri();

    return execute(HttpMethod.GET, null, follow, outputPath);
View Full Code Here

    UriComponentsBuilder ucb = createUriComponentsBuilder(path.getPath());
    if (null != params) {
      for (Object key : params.keySet()) {
        Object o = params.get(key);
        ucb.queryParam(key.toString(), encode(o.toString()));
      }
    }
    requestUri = ucb.build().toUri();

    Object obj = null;
View Full Code Here

    UriComponentsBuilder ucb = createUriComponentsBuilder(path.getPath());
    if (null != params) {
      for (Object key : params.keySet()) {
        Object o = params.get(key);
        ucb.queryParam(key.toString(), encode(o.toString()));
      }
    }
    requestUri = ucb.build().toUri();

    Object obj;
View Full Code Here

    UriComponentsBuilder ucb = createUriComponentsBuilder(path.getPath());
    if (null != params) {
      for (Object key : params.keySet()) {
        Object o = params.get(key);
        ucb.queryParam(key.toString(), encode(o.toString()));
      }
    }
    requestUri = ucb.build().toUri();

    return execute(HttpMethod.DELETE, null, follow, outputPath);
View Full Code Here

  private static String buildTagUri(String tag, int section, int offset) {
    UriComponentsBuilder builder = UriComponentsBuilder.fromUri(TAG_URI_TEMPLATE.expand(tag));

    if (section!=0) {
      builder.queryParam("section", section);
    }

    if (offset!=0) {
      builder.queryParam("offset", offset);
    }
View Full Code Here

    if (section!=0) {
      builder.queryParam("section", section);
    }

    if (offset!=0) {
      builder.queryParam("offset", offset);
    }

    return builder.build().toUriString();
  }
View Full Code Here

  public String build() {
    UriComponentsBuilder builder = UriComponentsBuilder.fromUriString(topic.getLinkPage(page));

    if (showDeleted) {
      builder.queryParam("deleted", "true");
    }

    if (lastmod) {
      builder.queryParam("lastmod", topic.getLastModified().getTime());
    }
View Full Code Here

    if (showDeleted) {
      builder.queryParam("deleted", "true");
    }

    if (lastmod) {
      builder.queryParam("lastmod", topic.getLastModified().getTime());
    }

    if (comment!=null) {
      builder.fragment("comment-"+comment);
    }
View Full Code Here

    if (comment!=null) {
      builder.fragment("comment-"+comment);
    }

    if (filter!=null) {
      builder.queryParam("filter", filter);
    }

    return builder.build().toUriString();
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.