Interface UndertowServletMessages

  • All Known Implementing Classes:
    UndertowServletMessages_$bundle

    @MessageBundle(projectCode="UT")
    public interface UndertowServletMessages
    messages start at 10000
    Author:
    Stuart Douglas
    • Method Detail

      • 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

        @Message(id=10013,
                 value="Could not instantiate %s")
        jakarta.servlet.ServletException couldNotInstantiateComponent​(String name,
                                                                      @Cause
                                                                      Exception e)
      • deleteFailed

        @Message(id=10015,
                 value="Could not delete file %s")
        IOException deleteFailed​(Path file)
      • notAMultiPartRequest

        @Message(id=10016,
                 value="Not a multi part request")
        jakarta.servlet.ServletException notAMultiPartRequest()
      • responseAlreadyCommited

        @Message(id=10019,
                 value="Response already commited")
        IllegalStateException responseAlreadyCommited()
      • contentHasBeenWritten

        @Message(id=10020,
                 value="Content has been written")
        IllegalStateException contentHasBeenWritten()
      • pathMustStartWithSlash

        @Message(id=10021,
                 value="Path %s must start with a /")
        MalformedURLException pathMustStartWithSlash​(String path)
      • sessionIsInvalid

        @Message(id=10022,
                 value="Session is invalid")
        IllegalStateException 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()
      • asyncAlreadyStarted

        @Message(id=10028,
                 value="Async processing already started")
        IllegalStateException asyncAlreadyStarted()
      • streamIsClosed

        @Message(id=10029,
                 value="Stream is closed")
        IOException 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()
      • streamNotInAsyncMode

        @Message(id=10034,
                 value="Stream not in async mode")
        IllegalStateException 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

        @Message(id=10044,
                 value="listener cannot be null")
        NullPointerException 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)
      • 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

        @Message(id=10052,
                 value="Header name was null")
        NullPointerException 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

        @Message(id=10055,
                 value="Listener is not started")
        IllegalStateException listenerIsNotStarted()
      • multipartConfigNotPresent

        @Message(id=10057,
                 value="multipart config was not present on Servlet")
        IllegalStateException multipartConfigNotPresent()
      • 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")
        jakarta.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)
      • sessionCreationAfterResponseCommittedNotAllowed

        @Message(id=10067,
                 value="Servlet container does not permit session creation after response was committed.")
        IllegalStateException sessionCreationAfterResponseCommittedNotAllowed()
      • sessionIdChangeAfterResponseCommittedNotAllowed

        @Message(id=10068,
                 value="Servlet container does not permit session identifier change after response was committed.")
        IllegalStateException sessionIdChangeAfterResponseCommittedNotAllowed()