Class LocalizationMessages
- java.lang.Object
-
- org.glassfish.jersey.servlet.internal.LocalizationMessages
-
@Generated("com.sun.istack.maven.ResourceGenMojo") public final class LocalizationMessages extends java.lang.Object
Defines string formatting method for each constant in the resource file
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
LocalizationMessages.BundleSupplier
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
BUNDLE_NAME
private static Localizer
LOCALIZER
private static LocalizableMessageFactory
MESSAGE_FACTORY
-
Constructor Summary
Constructors Constructor Description LocalizationMessages()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
ASYNC_PROCESSING_NOT_SUPPORTED()
Asynchronous processing not supported on Servlet 2.x container.static java.lang.String
EXCEPTION_SENDING_ERROR_RESPONSE(java.lang.Object arg0, java.lang.Object arg1)
I/O exception occurred while sending "{0}/{1}" error response.static java.lang.String
FILTER_CONTEXT_PATH_MISSING()
The root of the app was not properly defined.static java.lang.String
FORM_PARAM_CONSUMED(java.lang.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 java.lang.String
HEADER_VALUE_READ_FAILED()
Attempt to read the header value failed.static java.lang.String
INIT_PARAM_REGEX_SYNTAX_INVALID(java.lang.Object arg0, java.lang.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(java.lang.Object arg0, java.lang.Object arg1)
static Localizable
localizableFILTER_CONTEXT_PATH_MISSING()
static Localizable
localizableFORM_PARAM_CONSUMED(java.lang.Object arg0)
static Localizable
localizableHEADER_VALUE_READ_FAILED()
static Localizable
localizableINIT_PARAM_REGEX_SYNTAX_INVALID(java.lang.Object arg0, java.lang.Object arg1)
static Localizable
localizableNO_THREAD_LOCAL_VALUE(java.lang.Object arg0)
static Localizable
localizablePERSISTENCE_UNIT_NOT_CONFIGURED(java.lang.Object arg0)
static Localizable
localizableRESOURCE_CONFIG_PARENT_CLASS_INVALID(java.lang.Object arg0, java.lang.Object arg1)
static Localizable
localizableRESOURCE_CONFIG_UNABLE_TO_LOAD(java.lang.Object arg0)
static Localizable
localizableSERVLET_PATH_MISMATCH(java.lang.Object arg0, java.lang.Object arg1)
static Localizable
localizableSERVLET_REQUEST_SUSPEND_FAILED()
static java.lang.String
NO_THREAD_LOCAL_VALUE(java.lang.Object arg0)
No thread local value in scope for proxy of {0}.static java.lang.String
PERSISTENCE_UNIT_NOT_CONFIGURED(java.lang.Object arg0)
Persistence unit "{0}" is not configured as a servlet parameter in web.xml.static java.lang.String
RESOURCE_CONFIG_PARENT_CLASS_INVALID(java.lang.Object arg0, java.lang.Object arg1)
Resource configuration class {0} is not a subclass of {1}.static java.lang.String
RESOURCE_CONFIG_UNABLE_TO_LOAD(java.lang.Object arg0)
Resource configuration class {0} could not be loaded.static java.lang.String
SERVLET_PATH_MISMATCH(java.lang.Object arg0, java.lang.Object arg1)
The servlet path {0} does not start with the filter context path {1}.static java.lang.String
SERVLET_REQUEST_SUSPEND_FAILED()
Attempt to put servlet request into asynchronous mode has failed.
-
-
-
Field Detail
-
BUNDLE_NAME
private static final java.lang.String BUNDLE_NAME
- See Also:
- Constant Field Values
-
MESSAGE_FACTORY
private static final LocalizableMessageFactory MESSAGE_FACTORY
-
LOCALIZER
private static final Localizer LOCALIZER
-
-
Method Detail
-
localizableHEADER_VALUE_READ_FAILED
public static Localizable localizableHEADER_VALUE_READ_FAILED()
-
HEADER_VALUE_READ_FAILED
public static java.lang.String HEADER_VALUE_READ_FAILED()
Attempt to read the header value failed.
-
localizableFILTER_CONTEXT_PATH_MISSING
public static Localizable localizableFILTER_CONTEXT_PATH_MISSING()
-
FILTER_CONTEXT_PATH_MISSING
public static java.lang.String FILTER_CONTEXT_PATH_MISSING()
The root of the app was not properly defined. Either use a Servlet 3.x container or add an init-param 'jersey.config.servlet.filter.contextPath' to the filter configuration. Due to Servlet 2.x API, Jersey cannot determine the request base URI solely from the ServletContext. The application will most likely not work.
-
localizableNO_THREAD_LOCAL_VALUE
public static Localizable localizableNO_THREAD_LOCAL_VALUE(java.lang.Object arg0)
-
NO_THREAD_LOCAL_VALUE
public static java.lang.String NO_THREAD_LOCAL_VALUE(java.lang.Object arg0)
No thread local value in scope for proxy of {0}.
-
localizableSERVLET_PATH_MISMATCH
public static Localizable localizableSERVLET_PATH_MISMATCH(java.lang.Object arg0, java.lang.Object arg1)
-
SERVLET_PATH_MISMATCH
public static java.lang.String SERVLET_PATH_MISMATCH(java.lang.Object arg0, java.lang.Object arg1)
The servlet path {0} does not start with the filter context path {1}.
-
localizableRESOURCE_CONFIG_UNABLE_TO_LOAD
public static Localizable localizableRESOURCE_CONFIG_UNABLE_TO_LOAD(java.lang.Object arg0)
-
RESOURCE_CONFIG_UNABLE_TO_LOAD
public static java.lang.String RESOURCE_CONFIG_UNABLE_TO_LOAD(java.lang.Object arg0)
Resource configuration class {0} could not be loaded.
-
localizablePERSISTENCE_UNIT_NOT_CONFIGURED
public static Localizable localizablePERSISTENCE_UNIT_NOT_CONFIGURED(java.lang.Object arg0)
-
PERSISTENCE_UNIT_NOT_CONFIGURED
public static java.lang.String PERSISTENCE_UNIT_NOT_CONFIGURED(java.lang.Object arg0)
Persistence unit "{0}" is not configured as a servlet parameter in web.xml.
-
localizableEXCEPTION_SENDING_ERROR_RESPONSE
public static Localizable localizableEXCEPTION_SENDING_ERROR_RESPONSE(java.lang.Object arg0, java.lang.Object arg1)
-
EXCEPTION_SENDING_ERROR_RESPONSE
public static java.lang.String EXCEPTION_SENDING_ERROR_RESPONSE(java.lang.Object arg0, java.lang.Object arg1)
I/O exception occurred while sending "{0}/{1}" error response.
-
localizableFORM_PARAM_CONSUMED
public static Localizable localizableFORM_PARAM_CONSUMED(java.lang.Object arg0)
-
FORM_PARAM_CONSUMED
public static java.lang.String FORM_PARAM_CONSUMED(java.lang.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_REQUEST_SUSPEND_FAILED
public static Localizable localizableSERVLET_REQUEST_SUSPEND_FAILED()
-
SERVLET_REQUEST_SUSPEND_FAILED
public static java.lang.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.
-
localizableINIT_PARAM_REGEX_SYNTAX_INVALID
public static Localizable localizableINIT_PARAM_REGEX_SYNTAX_INVALID(java.lang.Object arg0, java.lang.Object arg1)
-
INIT_PARAM_REGEX_SYNTAX_INVALID
public static java.lang.String INIT_PARAM_REGEX_SYNTAX_INVALID(java.lang.Object arg0, java.lang.Object arg1)
The syntax is invalid for the regular expression "{0}" associated with the initialization parameter "{1}".
-
localizableASYNC_PROCESSING_NOT_SUPPORTED
public static Localizable localizableASYNC_PROCESSING_NOT_SUPPORTED()
-
ASYNC_PROCESSING_NOT_SUPPORTED
public static java.lang.String ASYNC_PROCESSING_NOT_SUPPORTED()
Asynchronous processing not supported on Servlet 2.x container.
-
localizableRESOURCE_CONFIG_PARENT_CLASS_INVALID
public static Localizable localizableRESOURCE_CONFIG_PARENT_CLASS_INVALID(java.lang.Object arg0, java.lang.Object arg1)
-
RESOURCE_CONFIG_PARENT_CLASS_INVALID
public static java.lang.String RESOURCE_CONFIG_PARENT_CLASS_INVALID(java.lang.Object arg0, java.lang.Object arg1)
Resource configuration class {0} is not a subclass of {1}.
-
-