Package org.apache.tomcat.core

Examples of org.apache.tomcat.core.Request.pathInfo()


  realRequest.requestURI().setString( context.getPath() + path );
  // # 3162
  realRequest.unparsedURI().recycle();
  //realRequest.query().recycle();
  realRequest.servletPath().recycle();
  realRequest.pathInfo().recycle();
    realRequest.setChild(null);

  // merge query string as specified in specs - before, it may affect
  // the way the request is handled by special interceptors
  if( queryString != null ) {
View Full Code Here


  Object old_context_path=replaceAttribute(realRequest, A_CONTEXT_PATH,
             context.getPath());
  Object old_servlet_path=replaceAttribute(realRequest, A_SERVLET_PATH,
           subRequest.servletPath().toString());
  Object old_path_info=replaceAttribute(realRequest, A_PATH_INFO,
            subRequest.pathInfo().toString());
  Object old_query_string=replaceAttribute(realRequest, A_QUERY_STRING,
             queryString);

  if( debug ) {
      System.out.println("RDI: old " + old_request_uri + " " +
View Full Code Here

      System.out.println("RDI: old " + old_request_uri + " " +
             old_context_path + " " + old_servlet_path +
             " " + old_path_info + " " + old_query_string);
      System.out.println("RDI: new "+context.getPath() + " " + path + " "
             + subRequest.servletPath().toString() + " " +
             subRequest.pathInfo().toString() + " " +
             queryString);
  }

  if( queryString != null ) {
      // the original parameters will be preserved, and a new
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.