Package com.enonic.xp.portal

## Class PortalRequestAccessor

- java.lang.Object
- - com.enonic.xp.portal.PortalRequestAccessor

-     @PublicApi
      public final class PortalRequestAccessor
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `PortalRequestAccessor()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static PortalRequest` | `get()` |
    `static PortalRequest` | `get​(javax.servlet.http.HttpServletRequest req)` |
    `static void` | `remove()` |
    `static void` | `set​(PortalRequest portalRequest)` |
    `static void` | `set​(javax.servlet.http.HttpServletRequest req, PortalRequest portalRequest)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PortalRequestAccessor

          public PortalRequestAccessor()

  - ### Method Detail

    - #### get

          public static PortalRequest get()

    - #### set

          public static void set​(PortalRequest portalRequest)

    - #### remove

          public static void remove()

    - #### get

          public static PortalRequest get​(javax.servlet.http.HttpServletRequest req)

    - #### set

          public static void set​(javax.servlet.http.HttpServletRequest req,
                                 PortalRequest portalRequest)