Package io.github.jirkasa.servletrouter


package io.github.jirkasa.servletrouter
Simple lightweight library for servlet routing.
  • Class
    Description
    Middleware that sets base URL attribute to request.
    Controller<Request extends javax.servlet.ServletRequest,Response extends javax.servlet.ServletResponse>
    Represents component that is used to handle incoming requests for specific path (usually) in application.
    ErrorController<Request extends javax.servlet.ServletRequest,Response extends javax.servlet.ServletResponse>
    Represents Controller that can be set to Router using registerErrorController method.
    Handler<Request extends javax.servlet.ServletRequest,Response extends javax.servlet.ServletResponse>
    Represents component that handles requests.
    Implementation of Controller that uses HTTP protocol (HttpServletRequest and HttpServletResponse).
    ErrorController that uses HttpServletRequest and HttpServletResponse.
    Middleware that uses HttpServletRequest and HttpServletResponse.
    Implementation of Router that uses HttpServletRequest and HttpServletResponse.
    Middleware<Request extends javax.servlet.ServletRequest,Response extends javax.servlet.ServletResponse>
    Represents component that is used to handle requests.
    Router<Request extends javax.servlet.ServletRequest,Response extends javax.servlet.ServletResponse>
    Registers handlers and controllers to specific paths and performs routing for incoming requests.