Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.myfaces.orchestra.lib.jsf
Class PortletExternalContextWrapper

    java.lang.Object
      javax.faces.context.ExternalContext
          org.apache.myfaces.orchestra.lib.jsf.PortletExternalContextWrapper

    public class PortletExternalContextWrapper

extends javax.faces.context.ExternalContext

Class used by _PortletFacesContextWrapper to allow orchestra work in portlets This class wraps encodeActionURL and encodeResourceURL to include conversationContext param like RequestParameterResponseWrapper does. In portlets we can't do the same than is servlets, because the params added here must be encoded by the portlet container and in portlets we don't have servlet redirect cases.

Version:
  $Revision: 798382 $ $Date: 2009-07-27 22:23:02 -0500 (Mon, 27 Jul 2009) $
Author:
  Leonardo Uribe(latest modification by $Author: lu4242 $)

Field Summary

Fields inherited from class javax.faces.context.ExternalContext
`BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH`

Constructor Summary
`PortletExternalContextWrapper(javax.faces.context.ExternalContext context)`

Method Summary
`void` | `dispatch(java.lang.String arg0)`
`java.lang.String` | `encodeActionURL(java.lang.String url)`
`java.lang.String` | `encodeNamespace(java.lang.String arg0)`
`java.lang.String` | `encodeResourceURL(java.lang.String url)`
`java.util.Map` | `getApplicationMap()`
`java.lang.String` | `getAuthType()`
`java.lang.Object` | `getContext()`
`java.lang.String` | `getInitParameter(java.lang.String arg0)`
`java.util.Map` | `getInitParameterMap()`
`java.lang.String` | `getRemoteUser()`
`java.lang.Object` | `getRequest()`
`java.lang.String` | `getRequestCharacterEncoding()`
`java.lang.String` | `getRequestContextPath()`
`java.util.Map` | `getRequestCookieMap()`
`java.util.Map` | `getRequestHeaderMap()`
`java.util.Map` | `getRequestHeaderValuesMap()`
`java.util.Locale` | `getRequestLocale()`
`java.util.Iterator` | `getRequestLocales()`
`java.util.Map` | `getRequestMap()`
`java.util.Map` | `getRequestParameterMap()`
`java.util.Iterator` | `getRequestParameterNames()`
`java.util.Map` | `getRequestParameterValuesMap()`
`java.lang.String` | `getRequestPathInfo()`
`java.lang.String` | `getRequestServletPath()`
`java.net.URL` | `getResource(java.lang.String arg0)`
`java.io.InputStream` | `getResourceAsStream(java.lang.String arg0)`
`java.util.Set` | `getResourcePaths(java.lang.String arg0)`
`java.lang.Object` | `getResponse()`
`java.lang.String` | `getResponseCharacterEncoding()`
`java.lang.String` | `getResponseContentType()`
`java.lang.Object` | `getSession(boolean arg0)`
`java.util.Map` | `getSessionMap()`
`java.security.Principal` | `getUserPrincipal()`
`boolean` | `isUserInRole(java.lang.String arg0)`
`void` | `log(java.lang.String s)`
`void` | `log(java.lang.String s, java.lang.Throwable throwable)`
`void` | `redirect(java.lang.String arg0)`
`void` | `setRequest(java.lang.Object request)`
`void` | `setRequestCharacterEncoding(java.lang.String encoding)`
`void` | `setResponse(java.lang.Object response)`
`void` | `setResponseCharacterEncoding(java.lang.String encoding)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PortletExternalContextWrapper

    public PortletExternalContextWrapper(javax.faces.context.ExternalContext context)

Method Detail

### dispatch

    public void dispatch(java.lang.String arg0)
                  throws java.io.IOException

  Specified by:
    `dispatch` in class `javax.faces.context.ExternalContext`
  Throws:
    `java.io.IOException`

### encodeActionURL

    public java.lang.String encodeActionURL(java.lang.String url)

  Specified by:
    `encodeActionURL` in class `javax.faces.context.ExternalContext`

### encodeNamespace

    public java.lang.String encodeNamespace(java.lang.String arg0)

  Specified by:
    `encodeNamespace` in class `javax.faces.context.ExternalContext`

### encodeResourceURL

    public java.lang.String encodeResourceURL(java.lang.String url)

  Specified by:
    `encodeResourceURL` in class `javax.faces.context.ExternalContext`

### getApplicationMap

    public java.util.Map getApplicationMap()

  Specified by:
    `getApplicationMap` in class `javax.faces.context.ExternalContext`

### getAuthType

    public java.lang.String getAuthType()

  Specified by:
    `getAuthType` in class `javax.faces.context.ExternalContext`

### getContext

    public java.lang.Object getContext()

  Specified by:
    `getContext` in class `javax.faces.context.ExternalContext`

### getInitParameter

    public java.lang.String getInitParameter(java.lang.String arg0)

  Specified by:
    `getInitParameter` in class `javax.faces.context.ExternalContext`

### getInitParameterMap

    public java.util.Map getInitParameterMap()

  Specified by:
    `getInitParameterMap` in class `javax.faces.context.ExternalContext`

### getRemoteUser

    public java.lang.String getRemoteUser()

  Specified by:
    `getRemoteUser` in class `javax.faces.context.ExternalContext`

### getRequest

    public java.lang.Object getRequest()

  Specified by:
    `getRequest` in class `javax.faces.context.ExternalContext`

### getRequestContextPath

    public java.lang.String getRequestContextPath()

  Specified by:
    `getRequestContextPath` in class `javax.faces.context.ExternalContext`

### getRequestCookieMap

    public java.util.Map getRequestCookieMap()

  Specified by:
    `getRequestCookieMap` in class `javax.faces.context.ExternalContext`

### getRequestHeaderMap

    public java.util.Map getRequestHeaderMap()

  Specified by:
    `getRequestHeaderMap` in class `javax.faces.context.ExternalContext`

### getRequestHeaderValuesMap

    public java.util.Map getRequestHeaderValuesMap()

  Specified by:
    `getRequestHeaderValuesMap` in class `javax.faces.context.ExternalContext`

### getRequestLocale

    public java.util.Locale getRequestLocale()

  Specified by:
    `getRequestLocale` in class `javax.faces.context.ExternalContext`

### getRequestLocales

    public java.util.Iterator getRequestLocales()

  Specified by:
    `getRequestLocales` in class `javax.faces.context.ExternalContext`

### getRequestMap

    public java.util.Map getRequestMap()

  Specified by:
    `getRequestMap` in class `javax.faces.context.ExternalContext`

### getRequestParameterMap

    public java.util.Map getRequestParameterMap()

  Specified by:
    `getRequestParameterMap` in class `javax.faces.context.ExternalContext`

### getRequestParameterNames

    public java.util.Iterator getRequestParameterNames()

  Specified by:
    `getRequestParameterNames` in class `javax.faces.context.ExternalContext`

### getRequestParameterValuesMap

    public java.util.Map getRequestParameterValuesMap()

  Specified by:
    `getRequestParameterValuesMap` in class `javax.faces.context.ExternalContext`

### getRequestPathInfo

    public java.lang.String getRequestPathInfo()

  Specified by:
    `getRequestPathInfo` in class `javax.faces.context.ExternalContext`

### getRequestServletPath

    public java.lang.String getRequestServletPath()

  Specified by:
    `getRequestServletPath` in class `javax.faces.context.ExternalContext`

### getResource

    public java.net.URL getResource(java.lang.String arg0)
                             throws java.net.MalformedURLException

  Specified by:
    `getResource` in class `javax.faces.context.ExternalContext`
  Throws:
    `java.net.MalformedURLException`

### getResourceAsStream

    public java.io.InputStream getResourceAsStream(java.lang.String arg0)

  Specified by:
    `getResourceAsStream` in class `javax.faces.context.ExternalContext`

### getResourcePaths

    public java.util.Set getResourcePaths(java.lang.String arg0)

  Specified by:
    `getResourcePaths` in class `javax.faces.context.ExternalContext`

### getResponse

    public java.lang.Object getResponse()

  Specified by:
    `getResponse` in class `javax.faces.context.ExternalContext`

### getSession

    public java.lang.Object getSession(boolean arg0)

  Specified by:
    `getSession` in class `javax.faces.context.ExternalContext`

### getSessionMap

    public java.util.Map getSessionMap()

  Specified by:
    `getSessionMap` in class `javax.faces.context.ExternalContext`

### getUserPrincipal

    public java.security.Principal getUserPrincipal()

  Specified by:
    `getUserPrincipal` in class `javax.faces.context.ExternalContext`

### isUserInRole

    public boolean isUserInRole(java.lang.String arg0)

  Specified by:
    `isUserInRole` in class `javax.faces.context.ExternalContext`

### redirect

    public void redirect(java.lang.String arg0)
                  throws java.io.IOException

  Specified by:
    `redirect` in class `javax.faces.context.ExternalContext`
  Throws:
    `java.io.IOException`

### log

    public void log(java.lang.String s,
                    java.lang.Throwable throwable)

  Specified by:
    `log` in class `javax.faces.context.ExternalContext`

### log

    public void log(java.lang.String s)

  Specified by:
    `log` in class `javax.faces.context.ExternalContext`

### getResponseContentType

    public java.lang.String getResponseContentType()

### setRequest

    public void setRequest(java.lang.Object request)

### setRequestCharacterEncoding

    public void setRequestCharacterEncoding(java.lang.String encoding)
                                     throws java.io.UnsupportedEncodingException

  Throws:
    `java.io.UnsupportedEncodingException`

### setResponse

    public void setResponse(java.lang.Object response)

### setResponseCharacterEncoding

    public void setResponseCharacterEncoding(java.lang.String encoding)

### getResponseCharacterEncoding

    public java.lang.String getResponseCharacterEncoding()

### getRequestCharacterEncoding

    public java.lang.String getRequestCharacterEncoding()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 The Apache Software Foundation. All Rights Reserved.