Package com.codename1.backend.web


package com.codename1.backend.web

Interception and exception handling around generated controller routes.

HandlerInterceptor beans run around every controller method, @ExceptionHandler methods and @ControllerAdvice beans turn exceptions into responses, and ControllerHooks documents the order both run in and how they sit inside the security filter chain. Everything is wired at build time; nothing is looked up by name or reflection when a request arrives.

  • Class
    Description
    The interceptors and global exception resolvers every generated router runs a matched request through.
    What a generated router implements: running route route of itself.
    Turns an exception a controller threw into a response.
    Runs around every controller method, for cross-cutting work that is not security: timing, auditing, tenant selection, request-scoped cleanup.
    The controller method a request was routed to, as interceptors and exception resolvers see it.