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

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

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

origin: org.ocpsoft.rewrite/rewrite-integration-faces

@Override
public String calculateCharacterEncoding(final FacesContext context)
{
 return parent.calculateCharacterEncoding(context);
}
origin: org.jboss.seam/jboss-seam

@Override
public String calculateCharacterEncoding(FacesContext context)
{
 return viewHandler.calculateCharacterEncoding(context);
}
origin: com.ocpsoft/prettyfaces-jsf2

@Override
public String calculateCharacterEncoding(final FacesContext context)
{
 return parent.calculateCharacterEncoding(context);
}
origin: org.richfaces/com.springsource.org.richfaces

public String calculateCharacterEncoding(FacesContext context) {
  // TODO Auto-generated method stub
  return _handler.calculateCharacterEncoding(context);
}
/**
origin: ocpsoft/rewrite

@Override
public String calculateCharacterEncoding(final FacesContext context)
{
 return parent.calculateCharacterEncoding(context);
}
origin: frenchc/jetm

@Override
public String calculateCharacterEncoding(FacesContext context) {
 return delegate.calculateCharacterEncoding(context);
}
origin: javax.faces/com.springsource.javax.faces

/**
 * 
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)
 * @since 1.2
 */
public String calculateCharacterEncoding(FacesContext context) {
  return getWrapped().calculateCharacterEncoding(context);
}
  
origin: javax.faces/jsf-impl

@Override
public String calculateCharacterEncoding(FacesContext context) {
  return getGroovyDelegate().calculateCharacterEncoding(context);
}
origin: org.apache.myfaces.core/myfaces-api

@Override
public String calculateCharacterEncoding(FacesContext context)
{
  return getWrapped().calculateCharacterEncoding(context);
}
origin: javax/javaee-web-api

/**
 *
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)
 * @since 1.2
 */
@Override
public String calculateCharacterEncoding(FacesContext context) {
  return getWrapped().calculateCharacterEncoding(context);
}
origin: org.apache.myfaces.extensions.scripting/extscript-core

public String calculateCharacterEncoding(FacesContext facesContext) {
  weaveDelegate();
  return _delegate.calculateCharacterEncoding(facesContext);
}
origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec

/**
 * 
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)
 * @since 1.2
 */
public String calculateCharacterEncoding(FacesContext context) {
  return getWrapped().calculateCharacterEncoding(context);
}
  
origin: com.sun.faces/jsf-api

/**
 * 
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)
 * @since 1.2
 */
@Override
public String calculateCharacterEncoding(FacesContext context) {
  return getWrapped().calculateCharacterEncoding(context);
}
  
origin: com.sun.faces/jsf-impl

@Override
public String calculateCharacterEncoding(FacesContext context) {
  return getGroovyDelegate().calculateCharacterEncoding(context);
}
origin: javax.faces/javax.faces-api

/**
 *
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)
 * @since 1.2
 */
@Override
public String calculateCharacterEncoding(FacesContext context) {
  return getWrapped().calculateCharacterEncoding(context);
}
origin: org.apache.myfaces/com.springsource.org.apache.myfaces.javax.faces

@Override
public String calculateCharacterEncoding(FacesContext context) {
  return getWrapped().calculateCharacterEncoding(context);
}
origin: jboss/jboss-javaee-specs

/**
 *
 * <p>The default behavior of this method is to
 * call {@link ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)}
 * on the wrapped {@link ViewHandler} object.</p>
 *
 * @see ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)
 * @since 1.2
 */
@Override
public String calculateCharacterEncoding(FacesContext context) {
  return getWrapped().calculateCharacterEncoding(context);
}
origin: eclipse-ee4j/mojarra

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

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

/**
 *
 * <p>
 * The default behavior of this method is to call
 * {@link ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)} on the
 * wrapped {@link ViewHandler} object.
 * </p>
 *
 * @see ViewHandler#calculateCharacterEncoding(javax.faces.context.FacesContext)
 * @since 1.2
 */
@Override
public String calculateCharacterEncoding(FacesContext context) {
  return getWrapped().calculateCharacterEncoding(context);
}
javax.faces.applicationViewHandlercalculateCharacterEncoding

Javadoc

Returns the correct character encoding to be used for this request.

The following algorithm is employed.

  • Examine the Content-Type request header. If it has a charset parameter, extract it and return that as the encoding.

  • If no charset parameter was found, check for the existence of a session by calling ExternalContext#getSession(boolean) passing false as the argument. If that method returns true, get the session Map by calling ExternalContext#getSessionMap and look for a value under the key given by the value of the symbolic constant ViewHandler#CHARACTER_ENCODING_KEY. If present, return the value, converted to String.

  • Otherwise, return null

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,
  • deriveViewId,
  • deriveLogicalViewId,
  • getProtectedViewsUnmodifiable,
  • addProtectedView,
  • getViews,
  • getWebsocketURL,
  • removeProtectedView

Popular in Java

  • Making http post requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSharedPreferences (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Top 25 Plugins for Webstorm
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