Example usage for com.liferay.portal.kernel.util PortalUtil getPathContext

List of usage examples for com.liferay.portal.kernel.util PortalUtil getPathContext

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util PortalUtil getPathContext.

Prototype

public static String getPathContext(String contextPath) 

Source Link

Usage

From source file:com.liferay.marketplace.app.manager.web.internal.util.SimpleAppDisplay.java

License:Open Source License

@Override
public String getIconURL(HttpServletRequest request) {
    return PortalUtil.getPathContext(request) + "/images/icons.svg#apps";
}