congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ViewHandler.getRedirectURL
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: ocpsoft/rewrite

@Override
public String getRedirectURL(final FacesContext context, final String viewId,
    final Map<String, List<String>> parameters, final boolean includeViewParams)
{
 return parent.getRedirectURL(context, viewId, parameters, includeViewParams);
}
origin: com.ocpsoft/prettyfaces-jsf2

@Override
public String getRedirectURL(final FacesContext context, final String viewId,
    final Map<String, List<String>> parameters, final boolean includeViewParams)
{
 return parent.getRedirectURL(context, viewId, parameters, includeViewParams);
}
origin: org.ocpsoft.rewrite/rewrite-integration-faces

@Override
public String getRedirectURL(final FacesContext context, final String viewId,
    final Map<String, List<String>> parameters, final boolean includeViewParams)
{
 return parent.getRedirectURL(context, viewId, parameters, includeViewParams);
}
origin: frenchc/jetm

@Override
public String getRedirectURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) {
 return delegate.getRedirectURL(context, viewId, parameters, includeViewParams);
}
origin: org.apache.myfaces.core/myfaces-api

@Override
public String getRedirectURL(FacesContext context, String viewId,
    Map<String, List<String>> parameters, boolean includeViewParams)
{
  return getWrapped().getRedirectURL(context, viewId, parameters, includeViewParams);
}
origin: javax/javaee-web-api

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
 * @since 2.0
 */
@Override
public String getRedirectURL(FacesContext context, String viewId, Map<String,List<String>> parameters,  boolean includeViewParams) {
  return getWrapped().getRedirectURL(context, viewId, parameters, includeViewParams);
}
origin: org.apache.myfaces.extensions.scripting/extscript-core

@Override
public String getRedirectURL(FacesContext facesContext, String s, Map<String, List<String>> stringListMap, boolean b) {
  weaveDelegate();
  return _delegate.getRedirectURL(facesContext, s, stringListMap, b);
}
origin: javax.faces/javax.faces-api

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
 * @since 2.0
 */
@Override
public String getRedirectURL(FacesContext context, String viewId, Map<String,List<String>> parameters,  boolean includeViewParams) {
  return getWrapped().getRedirectURL(context, viewId, parameters, includeViewParams);
}
origin: com.sun.faces/jsf-impl

@Override
public String getRedirectURL(FacesContext context,
               String viewId,
               Map<String,List<String>> parameters,
               boolean includeViewParams) {
  return getGroovyDelegate().getRedirectURL(context,
                       viewId,
                       parameters,
                       includeViewParams);
}
origin: jboss/jboss-javaee-specs

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
 * @since 2.0
 */
@Override
public String getRedirectURL(FacesContext context, String viewId, Map<String,List<String>> parameters,  boolean includeViewParams) {
  return getWrapped().getRedirectURL(context, viewId, parameters, includeViewParams);
}
origin: org.glassfish/javax.faces

/**
 * <p>
 * The default behavior of this method is to call
 * {@link ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.
 * </p>
 *
 * @see ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map,
 *      boolean)
 * @since 2.0
 */
@Override
public String getRedirectURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) {
  return getWrapped().getRedirectURL(context, viewId, parameters, includeViewParams);
}
origin: org.glassfish/jakarta.faces

/**
 * <p>
 * The default behavior of this method is to call
 * {@link ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.
 * </p>
 *
 * @see ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map,
 *      boolean)
 * @since 2.0
 */
@Override
public String getRedirectURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) {
  return getWrapped().getRedirectURL(context, viewId, parameters, includeViewParams);
}
origin: eclipse-ee4j/mojarra

/**
 * <p>
 * The default behavior of this method is to call
 * {@link ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.
 * </p>
 *
 * @see ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map,
 *      boolean)
 * @since 2.0
 */
@Override
public String getRedirectURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) {
  return getWrapped().getRedirectURL(context, viewId, parameters, includeViewParams);
}
origin: eclipse-ee4j/mojarra

/**
 * <p>
 * The default behavior of this method is to call
 * {@link ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.
 * </p>
 *
 * @see ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map,
 *      boolean)
 * @since 2.0
 */
@Override
public String getRedirectURL(FacesContext context, String viewId, Map<String, List<String>> parameters, boolean includeViewParams) {
  return getWrapped().getRedirectURL(context, viewId, parameters, includeViewParams);
}
origin: com.sun.faces/jsf-api

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
 * @since 2.0
 */
@Override
public String getRedirectURL(FacesContext context,
               String viewId,
               Map<String,List<String>> parameters,
               boolean includeViewParams) {
  return getWrapped().getRedirectURL(context,
                    viewId,
                    parameters,
                    includeViewParams);
}
origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec

/**
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#getRedirectURL(javax.faces.context.FacesContext, String, java.util.Map, boolean)
 * @since 2.0
 */
@Override
public String getRedirectURL(FacesContext context,
               String viewId,
               Map<String,List<String>> parameters,
               boolean includeViewParams) {
  return getWrapped().getRedirectURL(context,
                    viewId,
                    parameters,
                    includeViewParams);
}
origin: org.jboss.seam/jboss-seam

/**
* Redirect to the given view id, after encoding the given conversation  
* id into the request URL.
* 
* @param viewId the JSF view id
* @param conversationId an id of a long-running conversation
*/
@Override
public void redirect(String viewId, String conversationId)
{
 if (viewId == null)
 {
   throw new RedirectException("cannot redirect to a null viewId");
 }
 FacesContext context = FacesContext.getCurrentInstance();
 String url = context.getApplication().getViewHandler().getRedirectURL(context, viewId, Collections.EMPTY_MAP, false);
 url = encodeConversationId(url, viewId, conversationId);
 redirect(viewId, context, url);
}
origin: org.apache.myfaces.core/myfaces-api

public URL getRedirectURL(FacesContext context) throws MalformedURLException
{
  ExternalContext externalContext = context.getExternalContext();
  return new URL(externalContext.getRequestScheme(),
      externalContext.getRequestServerName(),
      externalContext.getRequestServerPort(),
      context.getApplication().getViewHandler().getRedirectURL(context, getToViewId(context), 
          _NavigationUtils.getEvaluatedNavigationParameters(context,
             getParameters()), isIncludeViewParams()));
}

origin: com.sun.faces/jsf-api

/**
 * <p class="changed_added_2_0">Construct an absolute URL suitable for a
 * "redirect" to this <code>NavigationCase</code> instance using {@link
 * javax.faces.application.ViewHandler#getRedirectURL} on the path
 * portion of the url.</p>
 *
 * @param context the {@link FacesContext} for the current request
 *
 * @throws MalformedURLException if the process of constructing the
 * URL causes this exception to be thrown.
 */
public URL getRedirectURL(FacesContext context) throws MalformedURLException {
  ExternalContext extContext = context.getExternalContext();
  return new URL(extContext.getRequestScheme(),
      extContext.getRequestServerName(),
      extContext.getRequestServerPort(),
      context.getApplication().getViewHandler().getRedirectURL(context,
                                   getToViewId(context),
                                   SharedUtils.evaluateExpressions(context, getParameters()),
                                   isIncludeViewParams()));
}
origin: javax/javaee-web-api

/**
 * <p class="changed_added_2_0">Construct an absolute URL suitable for a
 * "redirect" to this <code>NavigationCase</code> instance using {@link
 * javax.faces.application.ViewHandler#getRedirectURL} on the path
 * portion of the url.</p>
 *
 * @param context the {@link FacesContext} for the current request
 * @return the redirect URL.
 * @throws MalformedURLException if the process of constructing the
 * URL causes this exception to be thrown.
 */
public URL getRedirectURL(FacesContext context) throws MalformedURLException {
  ExternalContext extContext = context.getExternalContext();
  return new URL(extContext.getRequestScheme(),
      extContext.getRequestServerName(),
      extContext.getRequestServerPort(),
      context.getApplication().getViewHandler().getRedirectURL(context,
                                   getToViewId(context),
                                   SharedUtils.evaluateExpressions(context, getParameters()),
                                   isIncludeViewParams()));
}
javax.faces.applicationViewHandlergetRedirectURL

Javadoc

Return a JSF action URL derived from the viewId argument that is suitable to be used by the NavigationHandler to issue a redirect request to the URL using a NonFaces request. Compliant implementations must implement this method as specified in section JSF.7.6.2. The default implementation simply calls through to #getActionURL, passing the arguments context and viewId.

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
  • calculateCharacterEncoding
    Returns the correct character encoding to be used for this request. The following algorithm is empl
  • getViewDeclarationLanguage,
  • calculateCharacterEncoding,
  • deriveViewId,
  • deriveLogicalViewId,
  • getProtectedViewsUnmodifiable,
  • addProtectedView,
  • getViews,
  • getWebsocketURL,
  • removeProtectedView

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • startActivity (Activity)
  • requestLocationUpdates (LocationManager)
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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