Examples of IRequestParameters


Examples of org.apache.wicket.request.IRequestParameters

 
  @Override
  public Roles getRoles() {
    //first of all will check hashes
    try {
      IRequestParameters params = RequestCycle.get().getRequest().getRequestParameters();
      StringValue secureHash = params.getParameterValue("secureHash");
      StringValue invitationHash = params.getParameterValue("invitationHash");
      if (!secureHash.isEmpty() || !invitationHash.isEmpty()) {
        PageParameters pp = new PageParameters();
        for (String p : params.getParameterNames()) {
          for (StringValue sv : params.getParameterValues(p)) {
            if (!sv.isEmpty()) {
              pp.add(p, sv.toString());
            }
          }
        }
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.