oracle.adf.view.rich.context

## Class NewSessionURLProvider

- java.lang.Object
- - oracle.adf.view.rich.context.NewSessionURLProvider

- Direct Known Subclasses:
    NewSessionURLProviderBase

      @Exported
      public abstract class NewSessionURLProvider
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NewSessionURLProvider()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract String` | `getNewSessionURL(javax.faces.context.FacesContext context)` Used to provide the view with a URL to create a new session if the current session expires while the current page is displayed.

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

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

- - ### Constructor Detail

    - #### NewSessionURLProvider

          public NewSessionURLProvider()

  - ### Method Detail

    - #### getNewSessionURL

          public abstract String getNewSessionURL(javax.faces.context.FacesContext context)

      Used to provide the view with a URL to create a new session if the current session expires while the current page is displayed. The current page is identified by the current UIViewRoot. Note: Only called during the JSF RENDER_RESPONSE lifecycle phase.
      Parameters:
        `context` - the FacesContext.
      Returns:
        the URL to redirect to. A null value indicates there is no appropriate URL available.
      Throws:
        `IllegalStateException` - if called outside of the RENDER_RESPONSE phase.

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.