Package pt.opensoft.msg

Examples of pt.opensoft.msg.Request


  }

  public static final String REQUEST_URI = "REQUEST_URI";

    private void setRepostData(Request request) {
        Request req = new SimpleRequest();
        String actionName = ((HttpRequest) request).getRequestURI();
        int index = actionName.lastIndexOf("/");
        if (index != -1) actionName = actionName.substring(index + 1);
        req.setValue(REQUEST_URI, actionName);
        for (Iterator iterator = request.getNames().iterator(); iterator.hasNext();) {
            String name = (String) iterator.next();
            req.setValue(name, request.getValue(name));
        }
        request.getSession().setValue(REPOST_DATA, req);
    }
View Full Code Here

TOP

Related Classes of pt.opensoft.msg.Request

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.