Package io.undertow.servlet
Interface UndertowServletMessages
- All Known Implementing Classes:
UndertowServletMessages_$bundle
@MessageBundle(projectCode="UT")
public interface UndertowServletMessages
messages start at 10000
- Author:
- Stuart Douglas
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionjavax.servlet.ServletException
cannotLoadClass
(String className, Exception e) cantCallFromDynamicListener
(String deploymentName, String contextPath) componentMustHaveDefaultConstructor
(String componentType, Class<?> componentClass) couldNotCreateFactory
(String className, Exception e) couldNotFindContextToDispatchTo
(String originalContextPath) javax.servlet.ServletException
couldNotInstantiateComponent
(String name, Exception e) deleteFailed
(Path file) javax.servlet.ServletException
deploymentStopped
(String deployment) filterMustImplementFilter
(String name, Class<? extends javax.servlet.Filter> filterClass) filterNotFound
(String filterName, String mapping) headerCannotBeConvertedToDate
(String header) invalidMethodForPushRequest
(String method) invalidRequestResponseType
(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) listenerMustImplementListenerClass
(Class<?> listenerClass) javax.servlet.ServletException
moreThanOneDefaultErrorPage
(String defaultErrorPage, String location) javax.servlet.ServletException
javax.servlet.ServletException
javax.servlet.ServletException
nullName()
paramCannotBeNull
(String param) paramCannotBeNull
(String param, String componentType, String name) paramCannotBeNullNPE
(String name) pathMustStartWithSlash
(String path) requestWasNotOriginalOrWrapper
(javax.servlet.ServletRequest request) responseWasNotOriginalOrWrapper
(javax.servlet.ServletResponse response) roleMustNotBeEmpty
(String deploymentName, String contextPath) servletAlreadyInitialize
(String deploymentName, String contextPath) servletMustImplementServlet
(String name, Class<? extends javax.servlet.Servlet> servletClass) trailersNotSupported
(String reason) unknownAuthenticationMechanism
(String mechName) javax.servlet.ServletException
-
Field Details
-
MESSAGES
-
-
Method Details
-
paramCannotBeNull
@Message(id=10000, value="%s cannot be null") IllegalArgumentException paramCannotBeNull(String param) -
paramCannotBeNull
@Message(id=10001, value="%s cannot be null for %s named %s") IllegalArgumentException paramCannotBeNull(String param, String componentType, String name) -
canOnlyRemoveDeploymentsWhenUndeployed
@Message(id=10002, value="Deployments can only be removed when in undeployed state, but state was %s") IllegalStateException canOnlyRemoveDeploymentsWhenUndeployed(DeploymentManager.State state) -
getReaderAlreadyCalled
@Message(id=10003, value="Cannot call getInputStream(), getReader() already called") IllegalStateException getReaderAlreadyCalled() -
getInputStreamAlreadyCalled
@Message(id=10004, value="Cannot call getReader(), getInputStream() already called") IllegalStateException getInputStreamAlreadyCalled() -
getWriterAlreadyCalled
@Message(id=10005, value="Cannot call getOutputStream(), getWriter() already called") IllegalStateException getWriterAlreadyCalled() -
getOutputStreamAlreadyCalled
@Message(id=10006, value="Cannot call getWriter(), getOutputStream() already called") IllegalStateException getOutputStreamAlreadyCalled() -
twoServletsWithSameMapping
@Message(id=10007, value="Two servlets specified with same mapping %s") IllegalArgumentException twoServletsWithSameMapping(String path) -
headerCannotBeConvertedToDate
@Message(id=10008, value="Header %s cannot be converted to a date") IllegalArgumentException headerCannotBeConvertedToDate(String header) -
servletMustImplementServlet
@Message(id=10009, value="Servlet %s of type %s does not implement javax.servlet.Servlet") IllegalArgumentException servletMustImplementServlet(String name, Class<? extends javax.servlet.Servlet> servletClass) -
componentMustHaveDefaultConstructor
@Message(id=10010, value="%s of type %s must have a default constructor") IllegalArgumentException componentMustHaveDefaultConstructor(String componentType, Class<?> componentClass) -
filterMustImplementFilter
@Message(id=10011, value="Filter %s of type %s does not implement javax.servlet.Filter") IllegalArgumentException filterMustImplementFilter(String name, Class<? extends javax.servlet.Filter> filterClass) -
listenerMustImplementListenerClass
@Message(id=10012, value="Listener class %s must implement at least one listener interface") IllegalArgumentException listenerMustImplementListenerClass(Class<?> listenerClass) -
couldNotInstantiateComponent
-
cannotLoadClass
@Message(id=10014, value="Could not load class %s") RuntimeException cannotLoadClass(String className, @Cause Exception e) -
deleteFailed
-
notAMultiPartRequest
@Message(id=10016, value="Not a multi part request") javax.servlet.ServletException notAMultiPartRequest() -
asyncNotStarted
-
responseAlreadyCommited
@Message(id=10019, value="Response already commited") IllegalStateException responseAlreadyCommited() -
contentHasBeenWritten
-
pathMustStartWithSlash
@Message(id=10021, value="Path %s must start with a /") MalformedURLException pathMustStartWithSlash(String path) -
sessionIsInvalid
-
requestWasNotOriginalOrWrapper
@Message(id=10023, value="Request %s was not original or a wrapper") IllegalArgumentException requestWasNotOriginalOrWrapper(javax.servlet.ServletRequest request) -
responseWasNotOriginalOrWrapper
@Message(id=10024, value="Response %s was not original or a wrapper") IllegalArgumentException responseWasNotOriginalOrWrapper(javax.servlet.ServletResponse response) -
asyncRequestAlreadyDispatched
@Message(id=10025, value="Async request already dispatched") IllegalStateException asyncRequestAlreadyDispatched() -
startAsyncNotAllowed
@Message(id=10026, value="Async is not supported for this request, as not all filters or Servlets were marked as supporting async") IllegalStateException startAsyncNotAllowed() -
notImplemented
-
asyncAlreadyStarted
@Message(id=10028, value="Async processing already started") IllegalStateException asyncAlreadyStarted() -
streamIsClosed
-
userAlreadyLoggedIn
@Message(id=10030, value="User already logged in") javax.servlet.ServletException userAlreadyLoggedIn() -
loginFailed
@Message(id=10031, value="Login failed") javax.servlet.ServletException loginFailed() -
authenticationFailed
@Message(id=10032, value="Authenticationfailed") javax.servlet.ServletException authenticationFailed() -
noSession
-
streamNotInAsyncMode
-
streamNotReady
@Message(id=10035, value="Stream in async mode was not ready for IO operation") IllegalStateException streamNotReady() -
listenerAlreadySet
@Message(id=10036, value="Listener has already been set") IllegalStateException listenerAlreadySet() -
noWebSocketHandler
@Message(id=10038, value="No web socket handler was provided to the web socket servlet") javax.servlet.ServletException noWebSocketHandler() -
unknownAuthenticationMechanism
@Message(id=10039, value="Unknown authentication mechanism %s") RuntimeException unknownAuthenticationMechanism(String mechName) -
moreThanOneDefaultErrorPage
@Message(id=10040, value="More than one default error page %s and %s") IllegalStateException moreThanOneDefaultErrorPage(String defaultErrorPage, String location) -
servletContextAlreadyInitialized
@Message(id=10041, value="The servlet context has already been initialized, you can only call this method from a ServletContainerInitializer or a ServletContextListener") IllegalStateException servletContextAlreadyInitialized() -
cannotCallFromProgramaticListener
@Message(id=10042, value="This method cannot be called from a servlet context listener that has been added programatically") UnsupportedOperationException cannotCallFromProgramaticListener() -
cannotAddServletContextListener
@Message(id=10043, value="Cannot add servlet context listener from a programatically added listener") IllegalArgumentException cannotAddServletContextListener() -
listenerCannotBeNull
-
sslCannotBeCombinedWithAnyOtherMethod
@Message(id=10045, value="SSL cannot be combined with any other method") IllegalArgumentException sslCannotBeCombinedWithAnyOtherMethod() -
couldNotFindContextToDispatchTo
@Message(id=10046, value="No servlet context at %s to dispatch to") IllegalArgumentException couldNotFindContextToDispatchTo(String originalContextPath) -
nullName
-
invalidRequestResponseType
@Message(id=10048, value="Can only handle HTTP type of request / response: %s / %s") IllegalArgumentException invalidRequestResponseType(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) -
asyncRequestAlreadyReturnedToContainer
@Message(id=10049, value="Async request already returned to container") IllegalStateException asyncRequestAlreadyReturnedToContainer() -
filterNotFound
@Message(id=10050, value="Filter %s used in filter mapping %s not found") IllegalStateException filterNotFound(String filterName, String mapping) -
deploymentStopped
@Message(id=10051, value="Deployment %s has stopped") javax.servlet.ServletException deploymentStopped(String deployment) -
headerNameWasNull
-
noConfidentialPortAvailable
@Message(id=10053, value="No confidential port is available to redirect the current request.") IllegalStateException noConfidentialPortAvailable() -
couldNotCreateFactory
@Message(id=10054, value="Unable to create an instance factory for %s") RuntimeException couldNotCreateFactory(String className, @Cause Exception e) -
listenerIsNotStarted
-
pathWasNotSet
-
multipartConfigNotPresent
@Message(id=10057, value="multipart config was not present on Servlet") IllegalStateException multipartConfigNotPresent() -
servletNameNull
-
paramCannotBeNullNPE
@Message(id=10059, value="Param %s cannot be null") NullPointerException paramCannotBeNullNPE(String name) -
trailersNotSupported
@Message(id=10060, value="Trailers not supported for this request due to %s") IllegalStateException trailersNotSupported(String reason) -
invalidMethodForPushRequest
@Message(id=10061, value="Invalid method for push request %s") IllegalArgumentException invalidMethodForPushRequest(String method) -
noSecurityContextAvailable
@Message(id=10062, value="No SecurityContext available") javax.servlet.ServletException noSecurityContextAvailable() -
pathMustStartWithSlashForRequestDispatcher
@Message(id=10063, value="Path %s must start with a / to get the request dispatcher") IllegalArgumentException pathMustStartWithSlashForRequestDispatcher(String path) -
servletAlreadyInitialize
@Message(id=10064, value="Servlet context for context path \'%s\' in deployment \'%s\' has already been initialized, can not declare roles.") IllegalStateException servletAlreadyInitialize(String deploymentName, String contextPath) -
roleMustNotBeEmpty
@Message(id=10065, value="Can not set empty/null role in servlet context for context path \'%s\' in deployment \'%s\' ") IllegalArgumentException roleMustNotBeEmpty(String deploymentName, String contextPath) -
cantCallFromDynamicListener
@Message(id=10066, value="Can not set invoke \'declareRoles\' from dynamic listener in servlet context for context path \'%s\' in deployment \'%s\' ") UnsupportedOperationException cantCallFromDynamicListener(String deploymentName, String contextPath)
-