1 6 7 package javax.portlet; 8 9 10 11 12 37 public interface PortletContext 38 { 39 40 50 51 public String getServerInfo (); 52 53 74 75 public PortletRequestDispatcher getRequestDispatcher(String path); 76 77 78 79 100 101 public PortletRequestDispatcher getNamedDispatcher(String name); 102 103 104 118 public java.io.InputStream getResourceAsStream (String path); 119 120 121 122 130 131 public int getMajorVersion (); 132 133 134 142 143 public int getMinorVersion (); 144 145 146 160 161 public String getMimeType(String file); 162 163 164 182 183 public String getRealPath(String path); 184 185 186 216 217 public java.util.Set getResourcePaths(String path); 218 219 220 221 262 263 public java.net.URL getResource(String path) throws java.net.MalformedURLException ; 264 265 266 296 297 public java.lang.Object getAttribute(java.lang.String name); 298 299 300 311 312 public java.util.Enumeration getAttributeNames(); 313 314 315 333 334 public java.lang.String getInitParameter(java.lang.String name); 335 336 337 348 349 public java.util.Enumeration getInitParameterNames(); 350 351 352 363 364 public void log(java.lang.String msg); 365 366 367 382 383 public void log(java.lang.String message, java.lang.Throwable throwable); 384 385 386 398 399 public void removeAttribute(java.lang.String name); 400 401 402 423 424 public void setAttribute(java.lang.String name, java.lang.Object object); 425 426 427 435 436 public String getPortletContextName(); 437 438 } 439 | Popular Tags |