Uses of Class
spark.Response

Packages that use Response
Package
Description
 
  • Uses of Response in spark

    Methods in spark that return Response
    Modifier and Type
    Method
    Description
    static Response
    RequestResponseFactory.create(javax.servlet.http.HttpServletResponse response)
     
    Methods in spark with parameters of type Response
    Modifier and Type
    Method
    Description
    static Object
    CustomErrorPages.getFor(int status, Request request, Response response)
    Gets the custom error page for a given status code.
    void
    ExceptionHandler.handle(T exception, Request request, Response response)
    Invoked when an exception that is mapped to this handler occurs during routing
    abstract void
    ExceptionHandlerImpl.handle(T exception, Request request, Response response)
    Invoked when an exception that is mapped to this handler occurs during routing
    void
    Filter.handle(Request request, Response response)
    Invoked when a request is made on this filter's corresponding path e.g.
    abstract void
    FilterImpl.handle(Request request, Response response)
    Invoked when a request is made on this filter's corresponding path e.g.
    Route.handle(Request request, Response response)
    Invoked when a request is made on this route's corresponding path e.g.
    abstract Object
    RouteImpl.handle(Request request, Response response)
    Invoked when a request is made on this route's corresponding path e.g.
    TemplateViewRoute.handle(Request request, Response response)
    Invoked when a request is made on this route's corresponding path e.g.