| javax.portlet.PortletResponse
PortletResponse | public interface PortletResponse (Code) | | |
Method Summary | |
public void | addProperty(String key, String value) | public String | encodeURL(String path) Encode a url to a resource.
The path may be an absolute URL ("http://myserver/...")
or a URI with a full path ("/myapp/mypath/....").
path may also be a relative path ("images/myimage.gif"), in
which case it is a url to a resource in the current "portal", typically a
path relative to the current webapp. | public void | setProperty(String key, String value) |
encodeURL | public String encodeURL(String path)(Code) | | Encode a url to a resource.
The path may be an absolute URL ("http://myserver/...")
or a URI with a full path ("/myapp/mypath/....").
path may also be a relative path ("images/myimage.gif"), in
which case it is a url to a resource in the current "portal", typically a
path relative to the current webapp. Allowing a relative path is an
extension of the behaviour defined by the portlet specification.
The returned URL is always an absolute url. Some browsers do not
understand relative url's supplied for certain parameters (such as the
location of css files).
an absolute URL See Also: javax.portlet.PortletResponse.encodeURL |
|
|