congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ViewHandler.addProtectedView
Code IndexAdd Tabnine to your IDE (free)

How to use
addProtectedView
method
in
javax.faces.application.ViewHandler

Best Java code snippets using javax.faces.application.ViewHandler.addProtectedView (Showing top 15 results out of 315)

origin: frenchc/jetm

@Override
public void addProtectedView(String urlPattern) {
 delegate.addProtectedView(urlPattern);
}
origin: org.apache.myfaces.core/myfaces-api

@Override
public void addProtectedView(String urlPattern)
{
  getWrapped().addProtectedView(urlPattern);
}
origin: javax/javaee-web-api

/**
 *
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#addProtectedView}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#addProtectedView
 * @since 2.2
 */
@Override
public void addProtectedView(String urlPattern) {
  getWrapped().addProtectedView(urlPattern);
}
origin: com.sun.faces/jsf-api

/**
 *
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#addProtectedView}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#addProtectedView
 * @since 2.2
 */
@Override
public void addProtectedView(String urlPattern) {
  getWrapped().addProtectedView(urlPattern);
}
origin: jboss/jboss-javaee-specs

/**
 *
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#addProtectedView}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#addProtectedView
 * @since 2.2
 */
@Override
public void addProtectedView(String urlPattern) {
  getWrapped().addProtectedView(urlPattern);
}
origin: org.glassfish/javax.faces

/**
 *
 * <p>
 * The default behavior of this method is to call {@link ViewHandler#addProtectedView} on the
 * wrapped {@link ViewHandler} object.
 * </p>
 *
 * @see ViewHandler#addProtectedView
 * @since 2.2
 */
@Override
public void addProtectedView(String urlPattern) {
  getWrapped().addProtectedView(urlPattern);
}
origin: javax.faces/javax.faces-api

/**
 *
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#addProtectedView}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#addProtectedView
 * @since 2.2
 */
@Override
public void addProtectedView(String urlPattern) {
  getWrapped().addProtectedView(urlPattern);
}
origin: eclipse-ee4j/mojarra

/**
 *
 * <p>
 * The default behavior of this method is to call {@link ViewHandler#addProtectedView} on the
 * wrapped {@link ViewHandler} object.
 * </p>
 *
 * @see ViewHandler#addProtectedView
 * @since 2.2
 */
@Override
public void addProtectedView(String urlPattern) {
  getWrapped().addProtectedView(urlPattern);
}
origin: org.glassfish/jakarta.faces

/**
 *
 * <p>
 * The default behavior of this method is to call {@link ViewHandler#addProtectedView} on the
 * wrapped {@link ViewHandler} object.
 * </p>
 *
 * @see ViewHandler#addProtectedView
 * @since 2.2
 */
@Override
public void addProtectedView(String urlPattern) {
  getWrapped().addProtectedView(urlPattern);
}
origin: eclipse-ee4j/mojarra

/**
 *
 * <p>
 * The default behavior of this method is to call {@link ViewHandler#addProtectedView} on the
 * wrapped {@link ViewHandler} object.
 * </p>
 *
 * @see ViewHandler#addProtectedView
 * @since 2.2
 */
@Override
public void addProtectedView(String urlPattern) {
  getWrapped().addProtectedView(urlPattern);
}
origin: eclipse-ee4j/mojarra

viewHandler.addProtectedView(urlPattern);
origin: org.glassfish/javax.faces

viewHandler.addProtectedView(urlPattern);
origin: org.glassfish/jakarta.faces

viewHandler.addProtectedView(urlPattern);
origin: com.sun.faces/jsf-impl

  viewHandler = context.getApplication().getViewHandler();
viewHandler.addProtectedView(urlPattern);
origin: org.apache.myfaces.core/myfaces-impl

public void configureProtectedViews()
{
  Application application = getApplication();
  FacesConfigData dispenser = getDispenser();
  //Protected Views
  ViewHandler viewHandler = application.getViewHandler();
  for (String urlPattern : dispenser.getProtectedViewUrlPatterns())
  {
    viewHandler.addProtectedView(urlPattern);
  }
}

javax.faces.applicationViewHandleraddProtectedView

Javadoc

Add the argument urlPattern to the thread safe Set of protected views for this application. Compliant implementations make it so a subsequent call to #getProtectedViewsUnmodifiable contains the argument. The runtime must support calling this method at any time after application startup. The default implementation takes no action.

Popular methods of ViewHandler

  • getActionURL
    If the value returned from this method is used as the file argument to the four-argument constructor
  • createView
    Create and return a new UIViewRoot instance initialized with information from the argument FacesCont
  • getResourceURL
    If the value returned from this method is used as the file argument to the four-argument constructor
  • restoreView
    Perform whatever actions are required to restore the view associated with the specified FacesContext
  • calculateRenderKitId
    Return an appropriate renderKitId for this and subsequent requests from the current client. It is an
  • calculateLocale
    Returns an appropriate Locale to use for this and subsequent requests for the current client.
  • writeState
    Take any appropriate action to either immediately write out the current state information (by callin
  • renderView
    Perform whatever actions are required to render the response view to the response object associated
  • initView
    Initialize the view for the request processing lifecycle. This method must be called at the beginni
  • getBookmarkableURL
    Return a JSF action URL derived from the viewId argument that is suitable to be used as the target
  • getViewDeclarationLanguage
    Return the ViewDeclarationLanguage instance used for this ViewHandler instance. The default impleme
  • getRedirectURL
    Return a JSF action URL derived from the viewId argument that is suitable to be used by the Navigat
  • getViewDeclarationLanguage,
  • getRedirectURL,
  • calculateCharacterEncoding,
  • deriveViewId,
  • deriveLogicalViewId,
  • getProtectedViewsUnmodifiable,
  • getViews,
  • getWebsocketURL,
  • removeProtectedView

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JLabel (javax.swing)
  • JPanel (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now