Package org.eweb4j.mvc.action

Examples of org.eweb4j.mvc.action.QueryParams


    Map<String, String[]> qpm = context.getQueryParamMap();
    qpm.get("pageNum");
    qpm.get("numPerPage");

    // 同上,这里主要是自定义一个类为了让开发者能够声明
    QueryParams qp = context.getQueryParams();

    // 当前执行Action对应的 URI
    String uri = context.getUri();

    // 当前执行Action时的HTTP METHOD
View Full Code Here


    this.uri = uri;
  }

  public QueryParams getQueryParams() {
    if (queryParams == null) {
      queryParams = new QueryParams();
      queryParams.setMap(queryParamMap);
    }

    return queryParams;
  }
View Full Code Here

    this.uri = uri;
  }

  public QueryParams getQueryParams() {
    if (queryParams == null) {
      queryParams = new QueryParams();
      queryParams.setMap(queryParamMap);
    }
    queryParams.putAll(pathParamMap);

    return queryParams;
View Full Code Here

TOP

Related Classes of org.eweb4j.mvc.action.QueryParams

Copyright © 2018 www.massapicom. 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.