Class ExoRouterConfig

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.common.router.ExoRouterConfig
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class ExoRouterConfig extends org.exoplatform.container.component.BaseComponentPlugin
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ExoRouterConfig(org.exoplatform.container.xml.InitParams initParams)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the associated activity key type mapping from URI Pattern.
    void
    Sets the associated ActionName key type mapping from this URI Pattern.

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExoRouterConfig

      public ExoRouterConfig()
    • ExoRouterConfig

      public ExoRouterConfig(org.exoplatform.container.xml.InitParams initParams)
  • Method Details

    • getRouteMapping

      public Map<String,String> getRouteMapping()
      Gets the associated activity key type mapping from URI Pattern.
      Returns:
    • setRouteMapping

      public void setRouteMapping(Map<String,String> mapping)
      Sets the associated ActionName key type mapping from this URI Pattern.
      Parameters:
      mapping - the hash map of key as ActionName and value as URI Pattern