| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentAccessService
Service to access external and internal resources. This on-demand proxy allows the creation of a URL or Stream which can then be passed to other classes without knowing about the proxy support to enable seemless adaption to proxied environments. The proxying will be provided to the URL object by means of a StreamHandler.
Method Summary | |
---|---|
java.io.InputStream | getInputStream(java.lang.String urlString,
PortletRequest req,
PortletResponse resp)
Deprecated. Returns an input stream that reads from the passed url. |
java.lang.String | getMarkup(java.lang.String urlString,
PortletRequest req,
PortletResponse resp)
Deprecated. Returns the markup of the input stream read from the passed url. |
java.net.URL | getURL(java.lang.String urlString,
PortletRequest request,
PortletResponse response)
Deprecated. Returns an URL object after following redirects using a proxy if necessary |
void | include(java.lang.String urlString,
PortletRequest request,
PortletResponse response)
Deprecated. Writes the content of the given url to the output stream of the portlet following redirects and using a proxy if necessary trying to use the RequestDispatcher to include local servlets or JSPs |
Method Detail |
---|
java.net.URL getURL(java.lang.String urlString, PortletRequest request, PortletResponse response) throws PortletServiceException, java.net.MalformedURLException
java.io.InputStream getInputStream(java.lang.String urlString, PortletRequest req, PortletResponse resp) throws PortletServiceException, java.net.MalformedURLException
java.lang.String getMarkup(java.lang.String urlString, PortletRequest req, PortletResponse resp) throws PortletServiceException, java.net.MalformedURLException
void include(java.lang.String urlString, PortletRequest request, PortletResponse response) throws PortletServiceException, java.net.MalformedURLException
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |