org.glassfish.jersey.servlet.internal
Class LocalizationMessages

java.lang.Object
  extended by org.glassfish.jersey.servlet.internal.LocalizationMessages

public final class LocalizationMessages
extends Object

Defines string formatting method for each constant in the resource file


Constructor Summary
LocalizationMessages()
           
 
Method Summary
static String ASYNC_PROCESSING_NOT_SUPPORTED()
          Asynchronous processing not supported on Servlet 2.x container.
static String EXCEPTION_SENDING_ERROR_RESPONSE(Object arg0, Object arg1)
          I/O exception occurred while sending "{0}/{1}" error response.
static String FORM_PARAM_CONSUMED(Object arg0)
          A servlet request to the URI {0} contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters.
static String INIT_PARAM_REGEX_SYNTAX_INVALID(Object arg0, Object arg1)
          The syntax is invalid for the regular expression "{0}" associated with the initialization parameter "{1}".
static Localizable localizableASYNC_PROCESSING_NOT_SUPPORTED()
           
static Localizable localizableEXCEPTION_SENDING_ERROR_RESPONSE(Object arg0, Object arg1)
           
static Localizable localizableFORM_PARAM_CONSUMED(Object arg0)
           
static Localizable localizableINIT_PARAM_REGEX_SYNTAX_INVALID(Object arg0, Object arg1)
           
static Localizable localizableNO_THREAD_LOCAL_VALUE(Object arg0)
           
static Localizable localizablePERSISTENCE_UNIT_NOT_CONFIGURED(Object arg0)
           
static Localizable localizableRESOURCE_CONFIG_PARENT_CLASS_INVALID(Object arg0, Object arg1)
           
static Localizable localizableRESOURCE_CONFIG_UNABLE_TO_LOAD(Object arg0)
           
static Localizable localizableSERVLET_PATH_MISMATCH(Object arg0, Object arg1)
           
static Localizable localizableSERVLET_REQUEST_SUSPEND_FAILED()
           
static String NO_THREAD_LOCAL_VALUE(Object arg0)
          No thread local value in scope for proxy of {0}.
static String PERSISTENCE_UNIT_NOT_CONFIGURED(Object arg0)
          Persistence unit "{0}" is not configured as a servlet parameter in web.xml.
static String RESOURCE_CONFIG_PARENT_CLASS_INVALID(Object arg0, Object arg1)
          Resource configuration class {0} is not a subclass of {1}.
static String RESOURCE_CONFIG_UNABLE_TO_LOAD(Object arg0)
          Resource configuration class {0} could not be loaded.
static String SERVLET_PATH_MISMATCH(Object arg0, Object arg1)
          The servlet path {0} does not start with the filter context path {1}.
static String SERVLET_REQUEST_SUSPEND_FAILED()
          Attempt to put servlet request into asynchronous mode has failed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalizationMessages

public LocalizationMessages()
Method Detail

localizableFORM_PARAM_CONSUMED

public static Localizable localizableFORM_PARAM_CONSUMED(Object arg0)

FORM_PARAM_CONSUMED

public static String FORM_PARAM_CONSUMED(Object arg0)
A servlet request to the URI {0} contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.


localizableSERVLET_PATH_MISMATCH

public static Localizable localizableSERVLET_PATH_MISMATCH(Object arg0,
                                                           Object arg1)

SERVLET_PATH_MISMATCH

public static String SERVLET_PATH_MISMATCH(Object arg0,
                                           Object arg1)
The servlet path {0} does not start with the filter context path {1}.


localizableASYNC_PROCESSING_NOT_SUPPORTED

public static Localizable localizableASYNC_PROCESSING_NOT_SUPPORTED()

ASYNC_PROCESSING_NOT_SUPPORTED

public static String ASYNC_PROCESSING_NOT_SUPPORTED()
Asynchronous processing not supported on Servlet 2.x container.


localizableSERVLET_REQUEST_SUSPEND_FAILED

public static Localizable localizableSERVLET_REQUEST_SUSPEND_FAILED()

SERVLET_REQUEST_SUSPEND_FAILED

public static String SERVLET_REQUEST_SUSPEND_FAILED()
Attempt to put servlet request into asynchronous mode has failed. Please check your servlet configuration - all Servlet instances and Servlet filters involved in the request processing must explicitly declare support for asynchronous request processing.


localizableEXCEPTION_SENDING_ERROR_RESPONSE

public static Localizable localizableEXCEPTION_SENDING_ERROR_RESPONSE(Object arg0,
                                                                      Object arg1)

EXCEPTION_SENDING_ERROR_RESPONSE

public static String EXCEPTION_SENDING_ERROR_RESPONSE(Object arg0,
                                                      Object arg1)
I/O exception occurred while sending "{0}/{1}" error response.


localizableNO_THREAD_LOCAL_VALUE

public static Localizable localizableNO_THREAD_LOCAL_VALUE(Object arg0)

NO_THREAD_LOCAL_VALUE

public static String NO_THREAD_LOCAL_VALUE(Object arg0)
No thread local value in scope for proxy of {0}.


localizableINIT_PARAM_REGEX_SYNTAX_INVALID

public static Localizable localizableINIT_PARAM_REGEX_SYNTAX_INVALID(Object arg0,
                                                                     Object arg1)

INIT_PARAM_REGEX_SYNTAX_INVALID

public static String INIT_PARAM_REGEX_SYNTAX_INVALID(Object arg0,
                                                     Object arg1)
The syntax is invalid for the regular expression "{0}" associated with the initialization parameter "{1}".


localizableRESOURCE_CONFIG_UNABLE_TO_LOAD

public static Localizable localizableRESOURCE_CONFIG_UNABLE_TO_LOAD(Object arg0)

RESOURCE_CONFIG_UNABLE_TO_LOAD

public static String RESOURCE_CONFIG_UNABLE_TO_LOAD(Object arg0)
Resource configuration class {0} could not be loaded.


localizablePERSISTENCE_UNIT_NOT_CONFIGURED

public static Localizable localizablePERSISTENCE_UNIT_NOT_CONFIGURED(Object arg0)

PERSISTENCE_UNIT_NOT_CONFIGURED

public static String PERSISTENCE_UNIT_NOT_CONFIGURED(Object arg0)
Persistence unit "{0}" is not configured as a servlet parameter in web.xml.


localizableRESOURCE_CONFIG_PARENT_CLASS_INVALID

public static Localizable localizableRESOURCE_CONFIG_PARENT_CLASS_INVALID(Object arg0,
                                                                          Object arg1)

RESOURCE_CONFIG_PARENT_CLASS_INVALID

public static String RESOURCE_CONFIG_PARENT_CLASS_INVALID(Object arg0,
                                                          Object arg1)
Resource configuration class {0} is not a subclass of {1}.



Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.