Class StaticResourcesHandler

java.lang.Object
com.cksource.ckfinder.servlet.StaticResourcesHandler

@Component public class StaticResourcesHandler extends Object
Serves static resources.

If serveStaticResources option is enabled in the configuration, this handler is registered to serve static resources used by CKFinder frontend (JavaScript and HTML files, CSS styles, etc.).

  • Field Details

  • Constructor Details

    • StaticResourcesHandler

      public StaticResourcesHandler()
  • Method Details

    • serveStaticResource

      public void serveStaticResource(HttpServletRequest request, HttpServletResponse response) throws IOException
      Handles the request and returns the response containing the requested static content.
      Parameters:
      request - current HTTP request
      response - current HTTP response
      Throws:
      IOException - in any case of processing failure