1 6 7 package javax.portlet; 8 9 10 21 public interface PortletRequest 22 { 23 24 41 public static final String USER_INFO = "javax.portlet.userinfo"; 42 43 44 47 public static final String BASIC_AUTH = "BASIC"; 48 49 52 public static final String FORM_AUTH = "FORM"; 53 54 57 public static final String CLIENT_CERT_AUTH = "CLIENT_CERT"; 58 59 62 public static final String DIGEST_AUTH = "DIGEST"; 63 64 65 77 public boolean isWindowStateAllowed(WindowState state); 78 79 80 92 93 public boolean isPortletModeAllowed(PortletMode mode); 94 95 96 101 102 public PortletMode getPortletMode (); 103 104 105 110 111 public WindowState getWindowState (); 112 113 114 119 public PortletPreferences getPreferences (); 120 121 122 131 132 public PortletSession getPortletSession (); 133 134 135 152 153 public PortletSession getPortletSession (boolean create); 154 155 156 185 186 public String getProperty(String name); 187 188 189 210 211 public java.util.Enumeration getProperties(String name); 212 213 214 226 227 public java.util.Enumeration getPropertyNames(); 228 229 230 235 236 public PortalContext getPortalContext(); 237 238 239 253 254 public java.lang.String getAuthType(); 255 256 257 273 274 public String getContextPath(); 275 276 277 286 287 public java.lang.String getRemoteUser(); 288 289 290 299 300 public java.security.Principal getUserPrincipal(); 301 302 303 317 318 public boolean isUserInRole(java.lang.String role); 319 320 321 344 345 public Object getAttribute(String name); 346 347 348 361 362 public java.util.Enumeration getAttributeNames(); 363 364 365 395 396 public String getParameter(String name); 397 398 399 416 417 public java.util.Enumeration getParameterNames(); 418 419 420 442 443 public String [] getParameterValues(String name); 444 445 446 462 463 public java.util.Map getParameterMap(); 464 465 466 472 473 public boolean isSecure(); 474 475 476 496 497 public void setAttribute(String name, Object o); 498 499 500 518 519 public void removeAttribute(String name); 520 521 522 538 539 public String getRequestedSessionId(); 540 541 542 554 555 public boolean isRequestedSessionIdValid(); 556 557 558 572 573 public String getResponseContentType(); 574 575 576 591 592 public java.util.Enumeration getResponseContentTypes(); 593 594 595 601 602 public java.util.Locale getLocale(); 603 604 605 614 615 public java.util.Enumeration getLocales(); 616 617 618 627 628 public String getScheme(); 629 630 631 637 638 public String getServerName(); 639 640 641 646 647 public int getServerPort(); 648 649 650 651 } 652 | Popular Tags |