Class RouterImpl

Object
com.liferay.portlet.RouterImpl
All Implemented Interfaces:
com.liferay.portal.kernel.portlet.Router

public class RouterImpl extends Object implements com.liferay.portal.kernel.portlet.Router
Author:
Connor McKay, Brian Wing Shun Chan
  • Constructor Details

    • RouterImpl

      public RouterImpl()
    • RouterImpl

      public RouterImpl(int size)
  • Method Details

    • addRoute

      public com.liferay.portal.kernel.portlet.Route addRoute(String pattern)
      Specified by:
      addRoute in interface com.liferay.portal.kernel.portlet.Router
    • getRoutes

      public List<com.liferay.portal.kernel.portlet.Route> getRoutes()
      Specified by:
      getRoutes in interface com.liferay.portal.kernel.portlet.Router
    • parametersToUrl

      public String parametersToUrl(Map<String,String> parameters)
      Specified by:
      parametersToUrl in interface com.liferay.portal.kernel.portlet.Router
    • urlToParameters

      public boolean urlToParameters(String url, Map<String,String> parameters)
      Specified by:
      urlToParameters in interface com.liferay.portal.kernel.portlet.Router