javax.faces.context.Flash.isRedirect()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(2.8k)|赞(0)|评价(0)|浏览(212)

本文整理了Java中javax.faces.context.Flash.isRedirect()方法的一些代码示例,展示了Flash.isRedirect()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Flash.isRedirect()方法的具体详情如下:
包路径:javax.faces.context.Flash
类名称:Flash
方法名:isRedirect

Flash.isRedirect介绍

[英]Return the value of this property for the flash for this session. This must be false unless:

  • #setRedirect was called for the current lifecycle traversal with true as the argument.
  • The current lifecycle traversal for this session is in the “execute” phase and the previous traversal had #setRedirect called with true as the argument.
    [中]

代码示例

代码示例来源:origin: org.apache.myfaces.core/myfaces-api

@Override
public boolean isRedirect()
{
  return getWrapped().isRedirect();
}

代码示例来源:origin: eclipse-ee4j/mojarra

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#isRedirect()} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public boolean isRedirect() {
  return getWrapped().isRedirect();
}

代码示例来源:origin: org.glassfish/javax.faces

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#isRedirect()} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public boolean isRedirect() {
  return getWrapped().isRedirect();
}

代码示例来源:origin: javax.faces/javax.faces-api

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#isRedirect()} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public boolean isRedirect() {
  return getWrapped().isRedirect();
}

代码示例来源:origin: javax/javaee-web-api

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#isRedirect()} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public boolean isRedirect() {
  return getWrapped().isRedirect();
}

代码示例来源:origin: eclipse-ee4j/mojarra

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#isRedirect()} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public boolean isRedirect() {
  return getWrapped().isRedirect();
}

代码示例来源:origin: com.sun.faces/jsf-api

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#isRedirect()} on the wrapped {@link Flash}
 * object.</p>
 * 
 * @since 2.2
 */
@Override
public boolean isRedirect() {
  return getWrapped().isRedirect();
}

代码示例来源:origin: org.glassfish/jakarta.faces

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#isRedirect()} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public boolean isRedirect() {
  return getWrapped().isRedirect();
}

代码示例来源:origin: jboss/jboss-javaee-specs

/**
 * <p class="changed_added_2_2">The default behavior of this method
 * is to call {@link Flash#isRedirect()} on the wrapped {@link Flash}
 * object.</p>
 *
 * @since 2.2
 */
@Override
public boolean isRedirect() {
  return getWrapped().isRedirect();
}

相关文章