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 TypeMethodDescriptionjakarta.servlet.ServletExceptioncannotLoadClass(String className, Exception e) componentMustHaveDefaultConstructor(String componentType, Class<?> componentClass) couldNotCreateFactory(String className, Exception e) couldNotFindContextToDispatchTo(String originalContextPath) jakarta.servlet.ServletExceptioncouldNotInstantiateComponent(String name, Exception e) deleteFailed(Path file) jakarta.servlet.ServletExceptiondeploymentStopped(String deployment) filterMustImplementFilter(String name, Class<? extends jakarta.servlet.Filter> filterClass) filterNotFound(String filterName, String mapping) headerCannotBeConvertedToDate(String header) invalidMethodForPushRequest(String method) invalidRequestResponseType(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) listenerMustImplementListenerClass(Class<?> listenerClass) jakarta.servlet.ServletExceptionmoreThanOneDefaultErrorPage(String defaultErrorPage, String location) jakarta.servlet.ServletExceptionjakarta.servlet.ServletExceptionnullName()paramCannotBeNull(String param) paramCannotBeNull(String param, String componentType, String name) paramCannotBeNullNPE(String name) pathMustStartWithSlash(String path) requestWasNotOriginalOrWrapper(jakarta.servlet.ServletRequest request) responseWasNotOriginalOrWrapper(jakarta.servlet.ServletResponse response) servletMustImplementServlet(String name, Class<? extends jakarta.servlet.Servlet> servletClass) trailersNotSupported(String reason) unknownAuthenticationMechanism(String mechName) jakarta.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 jakarta.servlet.Servlet") IllegalArgumentException servletMustImplementServlet(String name, Class<? extends jakarta.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 jakarta.servlet.Filter") IllegalArgumentException filterMustImplementFilter(String name, Class<? extends jakarta.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") jakarta.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(jakarta.servlet.ServletRequest request) -
responseWasNotOriginalOrWrapper
@Message(id=10024, value="Response %s was not original or a wrapper") IllegalArgumentException responseWasNotOriginalOrWrapper(jakarta.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") jakarta.servlet.ServletException userAlreadyLoggedIn() -
loginFailed
@Message(id=10031, value="Login failed") jakarta.servlet.ServletException loginFailed() -
authenticationFailed
@Message(id=10032, value="Authenticationfailed") jakarta.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") jakarta.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(jakarta.servlet.ServletRequest request, jakarta.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") jakarta.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)
-