Class ResourceRequestHandler

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.web.WebRequestHandler
org.gatein.portal.controller.resource.ResourceRequestHandler
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, org.gatein.wci.WebAppListener

public class ResourceRequestHandler extends org.exoplatform.web.WebRequestHandler implements org.gatein.wci.WebAppListener
Author:
Julien Viet
  • Field Details

    • HANDLER_NAME

      public static final String HANDLER_NAME
      See Also:
    • IF_MODIFIED_SINCE

      public static final String IF_MODIFIED_SINCE
      See Also:
    • LAST_MODIFIED

      public static final String LAST_MODIFIED
      See Also:
    • SUPPORT_GATEIN_RESOURCES

      public static final String SUPPORT_GATEIN_RESOURCES
      See Also:
    • VERSION

      public static final String VERSION
      .
    • VERSION_E_TAG

      public static final String VERSION_E_TAG
    • MAX_AGE

      public static final long MAX_AGE
    • VERSION_QN

      public static final org.exoplatform.web.controller.QualifiedName VERSION_QN
      .
    • RESOURCE_QN

      public static final org.exoplatform.web.controller.QualifiedName RESOURCE_QN
      .
    • SCOPE_QN

      public static final org.exoplatform.web.controller.QualifiedName SCOPE_QN
      .
    • COMPRESS_QN

      public static final org.exoplatform.web.controller.QualifiedName COMPRESS_QN
      .
    • ORIENTATION_QN

      public static final org.exoplatform.web.controller.QualifiedName ORIENTATION_QN
      .
    • LANG_QN

      public static final org.exoplatform.web.controller.QualifiedName LANG_QN
      .
  • Constructor Details

    • ResourceRequestHandler

      public ResourceRequestHandler()
  • Method Details

    • getHandlerName

      public String getHandlerName()
      Specified by:
      getHandlerName in class org.exoplatform.web.WebRequestHandler
    • execute

      public boolean execute(org.exoplatform.web.ControllerContext context) throws Exception
      Specified by:
      execute in class org.exoplatform.web.WebRequestHandler
      Throws:
      Exception
    • getRequiresLifeCycle

      protected boolean getRequiresLifeCycle()
      Specified by:
      getRequiresLifeCycle in class org.exoplatform.web.WebRequestHandler
    • onInit

      public void onInit(org.exoplatform.web.WebAppController controller, jakarta.servlet.ServletConfig sConfig) throws Exception
      Overrides:
      onInit in class org.exoplatform.web.WebRequestHandler
      Throws:
      Exception
    • onDestroy

      public void onDestroy(org.exoplatform.web.WebAppController controller)
      Overrides:
      onDestroy in class org.exoplatform.web.WebRequestHandler
    • onEvent

      public void onEvent(org.gatein.wci.WebAppEvent event)
      Specified by:
      onEvent in interface org.gatein.wci.WebAppListener
    • getJavascriptModules

      public Collection<String> getJavascriptModules()
      Get cached Javascript Modules ids
    • reloadJavascriptModules

      public void reloadJavascriptModules()
      Reload Javascript Modules by clearing cache
    • reloadJavascriptModule

      public void reloadJavascriptModule(String jsModule)
      Reload Javascript Module by its id like 'SHARED/jquery'
      Parameters:
      jsModule -