@Override public String getContextPath() { return ((PortletRequest)wrapped).getContextPath(); }
/** * The default behavior of this method is to call * <code>getContextPath()</code> on the wrapped request object. */ public String getContextPath() { return request.getContextPath(); }
public String getContextPath() { return request.getContextPath(); } }
@Override public String getRequestContextPath() { return mPortletRequest.getContextPath(); }
@Override public String getRequestContextPath() { return _portletRequest.getContextPath(); }
/** * @see javax.servlet.http.HttpServletRequest#getContextPath() */ public String getContextPath() { return portletRequest.getContextPath(); }
public String getContextPath() { return request.getContextPath(); } }
public String getContextPath() { return request.getContextPath(); }
public final String getContextPath() { return preq.getContextPath(); }
public String getRequestContextPath() { return portletRequest.getContextPath(); }
/** * Producer method for the context root. */ @Produces @ContextPath @Named("contextPath") public static String produceContextPath() { PortletArtifactProducer pap = producers.get(); assert pap != null; return pap.req.getContextPath(); }
public BaseURLRelativeStringImpl(String url, Map<String, String[]> parameterMap, BridgeContext bridgeContext) { super(url, parameterMap); this.contextPath = bridgeContext.getPortletRequest().getContextPath(); }
public static String getContextPath() { PortletRequest portletRequest = getPortletRequest(); if (portletRequest == null) { throw new IllegalStateException( "The request is not PortletRequest."); } return portletRequest.getContextPath(); }
@Override public String getContextPath() { return getRequest().getContextPath(); }
public BaseURLRelativeStringImpl(String url, Map<String, String[]> parameterMap, BridgeContext bridgeContext) { super(url, parameterMap); this.contextPath = bridgeContext.getPortletRequest().getContextPath(); }
@Override public String getContextPath() { return getWrapped().getContextPath(); }
@Override public String getContextPath() { return getWrapped().getContextPath(); }
@Override public String getContextPath() { return getWrapped().getContextPath(); }
_authType = portletRequest.getAuthType(); _remoteUser = portletRequest.getRemoteUser(); _contextPath = portletRequest.getContextPath(); _locale = portletRequest.getLocale(); _portletMode = portletRequest.getPortletMode();
@Override public String renderContextRelativeUrl(String url) { Args.notNull(url, "url"); if (url.startsWith("/")) { url = url.substring(1); } PrependingStringBuffer buffer = new PrependingStringBuffer(url); buffer.prepend("/").prepend(ThreadPortletContext.getPortletRequest().getContextPath()); return buffer.toString(); }