Example usage for com.liferay.portal.kernel.portlet Route urlToParameters

List of usage examples for com.liferay.portal.kernel.portlet Route urlToParameters

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.portlet Route urlToParameters.

Prototype

public boolean urlToParameters(String url, Map<String, String> parameters);

Source Link

Document

Populates the parameter map with values parsed from the URL if this route matches.

Usage

From source file:com.liferay.portlet.RouterImpl.java

License:Open Source License

public boolean urlToParameters(String url, Map<String, String> parameters) {
    for (Route route : _routes) {
        if (route.urlToParameters(url, parameters)) {
            return true;
        }//  w w w .j  a  v  a 2 s.  c o  m
    }

    return false;
}