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

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

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

Flash.remove介绍

暂无

代码示例

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

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

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

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

代码示例来源:origin: omnifaces/omnifaces

/**
 * @see Faces#removeFlashAttribute(String)
 */
@SuppressWarnings("unchecked")
public static <T> T removeFlashAttribute(FacesContext context, String name) {
  return (T) getFlash(context).remove(name);
}

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

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

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

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

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

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

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

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

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

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

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

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

代码示例来源:origin: org.omnifaces/omnifaces

/**
 * @see Faces#removeFlashAttribute(String)
 */
@SuppressWarnings("unchecked")
public static <T> T removeFlashAttribute(FacesContext context, String name) {
  return (T) getFlash(context).remove(name);
}

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

public Object remove(Object key)
{
  return getWrapped().remove(key);
}

代码示例来源:origin: org.apache.myfaces.extensions.cdi.bundles/myfaces-extcdi-bundle-jsf20

/**
   * {@inheritDoc}
   */
  @Override
  public String restoreWindowId(ExternalContext externalContext)
  {
    if(this.useWindowAwareUrlEncoding || this.useFallback)
    {
      return super.restoreWindowId(externalContext);
    }

    return (String)externalContext.getFlash().remove(WINDOW_CONTEXT_ID_PARAMETER_KEY);
  }
}

相关文章