|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPortletUrlSyntaxProvider
Encapsulates the logic for writing to and reading from URLs for portlets. This should hide the actual paramter namespacing, encoding and related logic for both URL generation and parsing.
| Method Summary | |
|---|---|
String |
generatePortletUrl(HttpServletRequest request,
IPortletWindow portletWindow,
PortletUrl portletUrl)
Generates a full portlet URL for the current request, passed portlet window & portlet URL data object. |
PortletUrl |
parsePortletUrl(HttpServletRequest request)
Parses out PortletUrl data from the request. |
| Method Detail |
|---|
String generatePortletUrl(HttpServletRequest request,
IPortletWindow portletWindow,
PortletUrl portletUrl)
request - The current requestportletWindow - The portlet window the parameters are forportletUrl - The Portlet URL data to be written.
IllegalArgumentException - if request, portletWindowId, or portletUrl are nullPortletUrl parsePortletUrl(HttpServletRequest request)
request - The request to parse parameters from
IllegalArgumentException - if request is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||