Class Dispatcher

java.lang.Object
org.eclipse.jetty.ee10.servlet.Dispatcher
All Implemented Interfaces:
jakarta.servlet.RequestDispatcher

public class Dispatcher extends Object implements jakarta.servlet.RequestDispatcher
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Dispatch include attribute names
    static final String
    Dispatch include attribute names
    static final String
    Name of original request attribute
    static final String
     

    Fields inherited from interface jakarta.servlet.RequestDispatcher

    ERROR_EXCEPTION, ERROR_EXCEPTION_TYPE, ERROR_MESSAGE, ERROR_REQUEST_URI, ERROR_SERVLET_NAME, ERROR_STATUS_CODE, FORWARD_CONTEXT_PATH, FORWARD_MAPPING, FORWARD_PATH_INFO, FORWARD_QUERY_STRING, FORWARD_REQUEST_URI, FORWARD_SERVLET_PATH, INCLUDE_CONTEXT_PATH, INCLUDE_MAPPING, INCLUDE_PATH_INFO, INCLUDE_QUERY_STRING, INCLUDE_REQUEST_URI, INCLUDE_SERVLET_PATH
  • Constructor Summary

    Constructors
    Constructor
    Description
    Dispatcher(ServletContextHandler contextHandler, String name)
     
    Dispatcher(ServletContextHandler contextHandler, HttpURI uri, String decodedPathInContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    async(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response)
     
    void
    error(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response)
     
    void
    forward(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response)
     
    void
    include(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • error

      public void error(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) throws jakarta.servlet.ServletException, IOException
      Throws:
      jakarta.servlet.ServletException
      IOException
    • forward

      public void forward(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) throws jakarta.servlet.ServletException, IOException
      Specified by:
      forward in interface jakarta.servlet.RequestDispatcher
      Throws:
      jakarta.servlet.ServletException
      IOException
    • include

      public void include(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) throws jakarta.servlet.ServletException, IOException
      Specified by:
      include in interface jakarta.servlet.RequestDispatcher
      Throws:
      jakarta.servlet.ServletException
      IOException
    • async

      public void async(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) throws jakarta.servlet.ServletException, IOException
      Throws:
      jakarta.servlet.ServletException
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object