PortletHref.java 文件源码

java
阅读 21 收藏 0 点赞 0 评论 0

项目:displaytag 作者:
/**
 * Creates a new PortletHref. The actual PortletURL object is not generated until the toString method is called.
 * @param portletRequest request to to feature checking with, may not be null.
 * @param renderResponse response to generate the URLs from, may not be null.
 */
public PortletHref(PortletRequest portletRequest, MimeResponse renderResponse)
{
    if (portletRequest == null)
    {
        throw new IllegalArgumentException("portletRequest may not be null");
    }
    if (renderResponse == null)
    {
        throw new IllegalArgumentException("renderResponse may not be null");
    }

    this.portletRequest = portletRequest;
    this.renderResponse = renderResponse;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号