public class PortletContextImpl extends Object implements javax.portlet.PortletContext
| Constructor and Description |
|---|
PortletContextImpl(javax.servlet.ServletContext servletContext) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String s) |
Enumeration<String> |
getAttributeNames() |
Enumeration<String> |
getContainerRuntimeOptions() |
String |
getInitParameter(String s) |
Enumeration<String> |
getInitParameterNames() |
int |
getMajorVersion() |
String |
getMimeType(String s) |
int |
getMinorVersion() |
javax.portlet.PortletRequestDispatcher |
getNamedDispatcher(String name) |
String |
getPortletContextName() |
String |
getRealPath(String s) |
javax.portlet.PortletRequestDispatcher |
getRequestDispatcher(String path) |
URL |
getResource(String s) |
InputStream |
getResourceAsStream(String s) |
Set<String> |
getResourcePaths(String s) |
String |
getServerInfo() |
void |
log(String s) |
void |
log(String s,
Throwable throwable) |
void |
removeAttribute(String s) |
void |
setAttribute(String s,
Object o) |
public PortletContextImpl(javax.servlet.ServletContext servletContext)
public String getServerInfo()
getServerInfo in interface javax.portlet.PortletContextpublic javax.portlet.PortletRequestDispatcher getRequestDispatcher(String path)
getRequestDispatcher in interface javax.portlet.PortletContextpublic javax.portlet.PortletRequestDispatcher getNamedDispatcher(String name)
getNamedDispatcher in interface javax.portlet.PortletContextpublic InputStream getResourceAsStream(String s)
getResourceAsStream in interface javax.portlet.PortletContextpublic int getMajorVersion()
getMajorVersion in interface javax.portlet.PortletContextpublic int getMinorVersion()
getMinorVersion in interface javax.portlet.PortletContextpublic String getMimeType(String s)
getMimeType in interface javax.portlet.PortletContextpublic String getRealPath(String s)
getRealPath in interface javax.portlet.PortletContextpublic Set<String> getResourcePaths(String s)
getResourcePaths in interface javax.portlet.PortletContextpublic URL getResource(String s) throws MalformedURLException
getResource in interface javax.portlet.PortletContextMalformedURLExceptionpublic Object getAttribute(String s)
getAttribute in interface javax.portlet.PortletContextpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface javax.portlet.PortletContextpublic String getInitParameter(String s)
getInitParameter in interface javax.portlet.PortletContextpublic Enumeration<String> getInitParameterNames()
getInitParameterNames in interface javax.portlet.PortletContextpublic void log(String s)
log in interface javax.portlet.PortletContextpublic void log(String s, Throwable throwable)
log in interface javax.portlet.PortletContextpublic void removeAttribute(String s)
removeAttribute in interface javax.portlet.PortletContextpublic void setAttribute(String s, Object o)
setAttribute in interface javax.portlet.PortletContextpublic String getPortletContextName()
getPortletContextName in interface javax.portlet.PortletContextpublic Enumeration<String> getContainerRuntimeOptions()
getContainerRuntimeOptions in interface javax.portlet.PortletContextCopyright © 2003-2017 GateIn. All Rights Reserved.