IncludeRequestWrapper( HttpServletRequest request, RequestDispatcher dispatcher ) { super( request, dispatcher ); _attributes.put( REQUEST_URI, ((RequestDispatcherImpl) dispatcher ).getRequestURI() ); _attributes.put( CONTEXT_PATH, request.getContextPath() ); _attributes.put( SERVLET_PATH, ((RequestDispatcherImpl) dispatcher ).getServletMetaData().getServletPath() ); final String pathInfo = ((RequestDispatcherImpl) dispatcher ).getServletMetaData().getPathInfo(); if (pathInfo != null) _attributes.put( PATH_INFO, pathInfo ); }
public String getPathInfo() { return _requestContext.getServletMetaData().getPathInfo(); } }
public String getPathInfo() { return _requestContext.getServletMetaData().getPathInfo(); } }
public String getPathInfo() { return _requestContext.getServletMetaData().getPathInfo(); } }
public String getServletPath() { return _requestContext.getServletMetaData().getServletPath(); }
public String getServletPath() { return _requestContext.getServletMetaData().getServletPath(); }
public String getServletPath() { return _requestContext.getServletMetaData().getServletPath(); }
IncludeRequestWrapper( HttpServletRequest request, RequestDispatcher dispatcher ) { super( request, dispatcher ); _attributes.put( REQUEST_URI, ((RequestDispatcherImpl) dispatcher ).getRequestURI() ); _attributes.put( CONTEXT_PATH, request.getContextPath() ); _attributes.put( SERVLET_PATH, ((RequestDispatcherImpl) dispatcher ).getServletMetaData().getServletPath() ); final String pathInfo = ((RequestDispatcherImpl) dispatcher ).getServletMetaData().getPathInfo(); if (pathInfo != null) _attributes.put( PATH_INFO, pathInfo ); }
IncludeRequestWrapper( HttpServletRequest request, RequestDispatcher dispatcher ) { super( request, dispatcher ); _attributes.put( REQUEST_URI, ((RequestDispatcherImpl) dispatcher ).getRequestURI() ); _attributes.put( CONTEXT_PATH, request.getContextPath() ); _attributes.put( SERVLET_PATH, ((RequestDispatcherImpl) dispatcher ).getServletMetaData().getServletPath() ); final String pathInfo = ((RequestDispatcherImpl) dispatcher ).getServletMetaData().getPathInfo(); if (pathInfo != null) _attributes.put( PATH_INFO, pathInfo ); }
public void pushIncludeRequest( RequestDispatcher rd, HttpServletRequest request, HttpServletResponse response ) throws ServletException { if (isFilterActive()) throw new IllegalStateException( "May not push an include request when no servlet is active" ); _contextStack.push( new ExecutionContext( DispatchedRequestWrapper.createIncludeRequestWrapper( request, rd ), response, ((RequestDispatcherImpl) rd).getServletMetaData() ) ); }
public void pushForwardRequest( RequestDispatcher rd, HttpServletRequest request, HttpServletResponse response ) throws ServletException { if (isFilterActive()) throw new IllegalStateException( "May not push a forward request when no servlet is active" ); _contextStack.push( new ExecutionContext( DispatchedRequestWrapper.createForwardRequestWrapper( request, rd ), response, ((RequestDispatcherImpl) rd).getServletMetaData() ) ); }
public void pushIncludeRequest( RequestDispatcher rd, HttpServletRequest request, HttpServletResponse response ) throws ServletException { if (isFilterActive()) throw new IllegalStateException( "May not push an include request when no servlet is active" ); _contextStack.push( new ExecutionContext( DispatchedRequestWrapper.createIncludeRequestWrapper( request, rd ), response, ((RequestDispatcherImpl) rd).getServletMetaData() ) ); }
public void pushForwardRequest( RequestDispatcher rd, HttpServletRequest request, HttpServletResponse response ) throws ServletException { if (isFilterActive()) throw new IllegalStateException( "May not push a forward request when no servlet is active" ); _contextStack.push( new ExecutionContext( DispatchedRequestWrapper.createForwardRequestWrapper( request, rd ), response, ((RequestDispatcherImpl) rd).getServletMetaData() ) ); }
public void pushForwardRequest( RequestDispatcher rd, HttpServletRequest request, HttpServletResponse response ) throws ServletException { if (isFilterActive()) throw new IllegalStateException( "May not push a forward request when no servlet is active" ); _contextStack.push( new ExecutionContext( DispatchedRequestWrapper.createForwardRequestWrapper( request, rd ), response, ((RequestDispatcherImpl) rd).getServletMetaData() ) ); }
public void pushIncludeRequest( RequestDispatcher rd, HttpServletRequest request, HttpServletResponse response ) throws ServletException { if (isFilterActive()) throw new IllegalStateException( "May not push an include request when no servlet is active" ); _contextStack.push( new ExecutionContext( DispatchedRequestWrapper.createIncludeRequestWrapper( request, rd ), response, ((RequestDispatcherImpl) rd).getServletMetaData() ) ); }