Package io.undertow

Interface UndertowMessages

  • All Known Implementing Classes:
    UndertowMessages_$bundle

    @MessageBundle(projectCode="UT")
    public interface UndertowMessages
    Author:
    Stuart Douglas
    • Method Detail

      • maximumConcurrentRequestsMustBeLargerThanZero

        @Message(id=1,
                 value="Maximum concurrent requests must be larger than zero.")
        IllegalArgumentException maximumConcurrentRequestsMustBeLargerThanZero()
      • responseAlreadyStarted

        @Message(id=2,
                 value="The response has already been started")
        IllegalStateException responseAlreadyStarted()
      • responseChannelAlreadyProvided

        @Message(id=4,
                 value="getResponseChannel() has already been called")
        IllegalStateException responseChannelAlreadyProvided()
      • requestChannelAlreadyProvided

        @Message(id=5,
                 value="getRequestChannel() has already been called")
        IllegalStateException requestChannelAlreadyProvided()
      • sessionManagerMustNotBeNull

        @Message(id=11,
                 value="Session manager must not be null")
        IllegalStateException sessionManagerMustNotBeNull()
      • sessionManagerNotFound

        @Message(id=12,
                 value="Session manager was not attached to the request. Make sure that the SessionAttachmentHandler is installed in the handler chain")
        IllegalStateException sessionManagerNotFound()
      • closeCalledWithDataStillToBeFlushed

        @Message(id=14,
                 value="close() called with data still to be flushed. Please call shutdownWrites() and then call flush() until it returns true before calling close()")
        IOException closeCalledWithDataStillToBeFlushed()
      • cookieHandlerNotPresent

        @Message(id=16,
                 value="Could not add cookie as cookie handler was not present in the handler chain")
        IllegalStateException cookieHandlerNotPresent()
      • formValueIsAFile

        @Message(id=17,
                 value="Form value is a file, use getFile() instead")
        IllegalStateException formValueIsAFile()
      • formValueIsAString

        @Message(id=18,
                 value="Form value is a String, use getValue() instead")
        IllegalStateException formValueIsAString()
      • requestEntityWasTooLarge

        @Message(id=19,
                 value="Connection from %s terminated as request entity was larger than %s")
        IOException requestEntityWasTooLarge​(SocketAddress address,
                                             long size)
      • requestEntityWasTooLarge

        @Message(id=20,
                 value="Connection terminated as request was larger than %s")
        IOException requestEntityWasTooLarge​(long size)
      • sessionAlreadyInvalidated

        @Message(id=21,
                 value="Session already invalidated")
        IllegalStateException sessionAlreadyInvalidated()
      • hashAlgorithmNotFound

        @Message(id=22,
                 value="The specified hash algorithm \'%s\' can not be found.")
        IllegalArgumentException hashAlgorithmNotFound​(String algorithmName)
      • invalidNonceReceived

        @Message(id=24,
                 value="An invalidly formatted nonce has been received.")
        IllegalArgumentException invalidNonceReceived()
      • unexpectedTokenInHeader

        @Message(id=25,
                 value="Unexpected token \'%s\' within header.")
        IllegalArgumentException unexpectedTokenInHeader​(String name)
      • couldNotFindSessionCookieConfig

        @Message(id=27,
                 value="Could not find session cookie config in the request")
        IllegalStateException couldNotFindSessionCookieConfig()
      • chunkedChannelClosedMidChunk

        @Message(id=29,
                 value="Channel was closed mid chunk, if you have attempted to write chunked data you cannot shutdown the channel until after it has all been written.")
        IOException chunkedChannelClosedMidChunk()
      • userAuthenticated

        @Message(id=30,
                 value="User %s successfully authenticated.")
        String userAuthenticated​(String userName)
      • userLoggedOut

        @Message(id=31,
                 value="User %s has logged out.")
        String userLoggedOut​(String userName)
      • authTypeCannotBeCombined

        @Message(id=33,
                 value="Authentication type %s cannot be combined with %s")
        IllegalStateException authTypeCannotBeCombined​(String type,
                                                       String existing)
      • streamIsClosed

        @Message(id=34,
                 value="Stream is closed")
        IOException streamIsClosed()
      • startBlockingHasNotBeenCalled

        @Message(id=35,
                 value="Cannot get stream as startBlocking has not been invoked")
        IllegalStateException startBlockingHasNotBeenCalled()
      • connectionTerminatedReadingMultiPartData

        @Message(id=36,
                 value="Connection terminated parsing multipart data")
        IOException connectionTerminatedReadingMultiPartData()
      • failedToParsePath

        @Message(id=37,
                 value="Failed to parse path in HTTP request")
        RuntimeException failedToParsePath()
      • authenticationFailed

        @Message(id=38,
                 value="Authentication failed, requested user name \'%s\'")
        String authenticationFailed​(String userName)
      • tooManyQueryParameters

        @Message(id=39,
                 value="To many query parameters, cannot have more than %s query parameters")
        RuntimeException tooManyQueryParameters​(int noParams)
      • tooManyHeaders

        @Message(id=40,
                 value="To many headers, cannot have more than %s header")
        RuntimeException tooManyHeaders​(int noParams)
      • couldNotDecodeTrailers

        @Message(id=42,
                 value="Could not decode trailers in HTTP request")
        IOException couldNotDecodeTrailers()
      • dataAlreadyQueued

        @Message(id=43,
                 value="Data is already being sent. You must wait for the completion callback to be be invoked before calling send() again")
        IllegalStateException dataAlreadyQueued()
      • errorParsingPredicateString

        @Message(id=45,
                 value="Error parsing predicated handler string %s:%n%s")
        IllegalArgumentException errorParsingPredicateString​(String reason,
                                                             String s)
      • tooManyCookies

        @Message(id=46,
                 value="The number of cookies sent exceeded the maximum of %s")
        IllegalStateException tooManyCookies​(int maxCookies)
      • tooManyParameters

        @Message(id=47,
                 value="The number of parameters exceeded the maximum of %s")
        IllegalStateException tooManyParameters​(int maxValues)
      • noRequestActive

        @Message(id=48,
                 value="No request is currently active")
        IllegalStateException noRequestActive()
      • authMechanismOutcomeNull

        @Message(id=50,
                 value="AuthenticationMechanism Outcome is null")
        IllegalStateException authMechanismOutcomeNull()
      • noSessionData

        @Message(id=52,
                 value="Session data requested when non session based authentication in use")
        IllegalStateException noSessionData()
      • listenerAlreadyRegistered

        @Message(id=53,
                 value="Listener %s already registered")
        IllegalArgumentException listenerAlreadyRegistered​(String name)
      • maxFileSizeExceeded

        @Message(id=54,
                 value="The maximum size %s for an individual file in a multipart request was exceeded")
        IOException maxFileSizeExceeded​(long maxIndividualFileSize)
      • couldNotSetAttribute

        @Message(id=55,
                 value="Could not set attribute %s to %s as it is read only")
        String couldNotSetAttribute​(String attributeName,
                                    String newValue)
      • couldNotParseUriTemplate

        @Message(id=56,
                 value="Could not parse URI template %s, exception at char %s")
        RuntimeException couldNotParseUriTemplate​(String path,
                                                  int i)
      • mismatchedBraces

        @Message(id=57,
                 value="Mismatched braces in attribute string %s")
        RuntimeException mismatchedBraces​(String valueString)
      • outOfBandResponseOnlyAllowedFor100Continue

        @Message(id=61,
                 value="Out of band responses only allowed for 100-continue requests")
        IllegalArgumentException outOfBandResponseOnlyAllowedFor100Continue()
      • ajpDoesNotSupportHTTPUpgrade

        @Message(id=62,
                 value="AJP does not support HTTP upgrade")
        IllegalStateException ajpDoesNotSupportHTTPUpgrade()
      • fileSystemWatcherAlreadyStarted

        @Message(id=63,
                 value="File system watcher already started")
        IllegalStateException fileSystemWatcherAlreadyStarted()
      • fileSystemWatcherNotStarted

        @Message(id=64,
                 value="File system watcher not started")
        IllegalStateException fileSystemWatcherNotStarted()
      • sslWasNull

        @Message(id=65,
                 value="SSL must be specified to connect to a https URL")
        IOException sslWasNull()
      • wrongMagicNumber

        @Message(id=66,
                 value="Incorrect magic number %s for AJP packet header")
        IOException wrongMagicNumber​(int number)
      • servletPathMatchFailed

        @Message(id=68,
                 value="Servlet path match failed")
        IllegalArgumentException servletPathMatchFailed()
      • couldNotParseCookie

        @Message(id=69,
                 value="Could not parse set cookie header %s")
        IllegalArgumentException couldNotParseCookie​(String headerValue)
      • canOnlyBeCalledByIoThread

        @Message(id=70,
                 value="method can only be called by IO thread")
        IllegalStateException canOnlyBeCalledByIoThread()
      • matcherAlreadyContainsTemplate

        @Message(id=71,
                 value="Cannot add path template %s, matcher already contains an equivalent pattern %s")
        IllegalStateException matcherAlreadyContainsTemplate​(String templateString,
                                                             String templateString1)
      • resourceChangeListenerNotSupported

        @Message(id=73,
                 value="Resource change listeners are not supported")
        IllegalArgumentException resourceChangeListenerNotSupported()
      • couldNotRenegotiate

        @Message(id=74,
                 value="Could not renegotiate SSL connection to require client certificate, as client had sent more data")
        IllegalStateException couldNotRenegotiate()
      • handlerNotShutdown

        @Message(id=76,
                 value="Handler not shutdown")
        IllegalStateException handlerNotShutdown()
      • upgradeNotSupported

        @Message(id=77,
                 value="The underlying transport does not support HTTP upgrade")
        IllegalStateException upgradeNotSupported()
      • renegotiationNotSupported

        @Message(id=78,
                 value="Renegotiation not supported")
        IOException renegotiationNotSupported()
      • notAValidUserAgentPattern

        @Message(id=79,
                 value="Not a valid user agent pattern %s")
        IllegalArgumentException notAValidUserAgentPattern​(String userAgent)
      • notAValidRegularExpressionPattern

        @Message(id=80,
                 value="Not a valid regular expression pattern %s")
        IllegalArgumentException notAValidRegularExpressionPattern​(String pattern)
      • badRequest

        @Message(id=81,
                 value="Bad request")
        RuntimeException badRequest()
      • hostAlreadyRegistered

        @Message(id=82,
                 value="Host %s already registered")
        RuntimeException hostAlreadyRegistered​(Object host)
      • hostHasNotBeenRegistered

        @Message(id=83,
                 value="Host %s has not been registered")
        RuntimeException hostHasNotBeenRegistered​(Object host)
      • extraDataWrittenAfterChunkEnd

        @Message(id=84,
                 value="Attempted to write additional data after the last chunk")
        IOException extraDataWrittenAfterChunkEnd()
      • couldNotGenerateUniqueSessionId

        @Message(id=85,
                 value="Could not generate unique session id")
        RuntimeException couldNotGenerateUniqueSessionId()
      • mustProvideHeapBuffer

        @Message(id=86,
                 value="SPDY needs to be provided with a heap buffer pool, for use in compressing and decompressing headers.")
        IllegalArgumentException mustProvideHeapBuffer()
      • unexpectedFrameType

        @Message(id=87,
                 value="Unexpected SPDY frame type %s")
        IOException unexpectedFrameType​(int type)
      • controlFrameCannotHaveBodyContent

        @Message(id=88,
                 value="SPDY control frames cannot have body content")
        IOException controlFrameCannotHaveBodyContent()
      • alpnNotAvailable

        @Message(id=90,
                 value="No ALPN implementation available (tried Jetty ALPN and JDK9)")
        IOException alpnNotAvailable()
      • bufferAlreadyFreed

        @Message(id=91,
                 value="Buffer has already been freed")
        IllegalStateException bufferAlreadyFreed()
      • headersTooLargeToFitInHeapBuffer

        @Message(id=92,
                 value="A SPDY header was too large to fit in a response buffer, if you want to support larger headers please increase the buffer size")
        IllegalStateException headersTooLargeToFitInHeapBuffer()
      • awaitCalledFromIoThread

        @Message(id=94,
                 value="Blocking await method called from IO thread. Blocking IO must be dispatched to a worker thread or deadlocks will result.")
        IOException awaitCalledFromIoThread()
      • recursiveCallToFlushingSenders

        @Message(id=95,
                 value="Recursive call to flushSenders()")
        RuntimeException recursiveCallToFlushingSenders()
      • fixedLengthOverflow

        @Message(id=96,
                 value="More data was written to the channel than specified in the content-length")
        IllegalStateException fixedLengthOverflow()
      • ajpRequestAlreadyInProgress

        @Message(id=97,
                 value="AJP request already in progress")
        IllegalStateException ajpRequestAlreadyInProgress()
      • httpPingDataMustBeLength8

        @Message(id=98,
                 value="HTTP ping data must be 8 bytes in length")
        String httpPingDataMustBeLength8()
      • invalidPingSize

        @Message(id=99,
                 value="Received a ping of size other than 8")
        String invalidPingSize()
      • streamIdMustBeZeroForFrameType

        @Message(id=100,
                 value="stream id must be zero for frame type %s")
        String streamIdMustBeZeroForFrameType​(int frameType)
      • streamIdMustNotBeZeroForFrameType

        @Message(id=101,
                 value="stream id must not be zero for frame type %s")
        String streamIdMustNotBeZeroForFrameType​(int frameType)
      • rstStreamReceivedForIdleStream

        @Message(id=102,
                 value="RST_STREAM received for idle stream")
        String rstStreamReceivedForIdleStream()
      • http2StreamWasReset

        @Message(id=103,
                 value="Http2 stream was reset")
        IOException http2StreamWasReset()
      • incorrectHttp2Preface

        @Message(id=104,
                 value="Incorrect HTTP2 preface")
        IOException incorrectHttp2Preface()
      • http2FrameTooLarge

        @Message(id=105,
                 value="HTTP2 frame to large")
        IOException http2FrameTooLarge()
      • http2ContinuationFrameNotExpected

        @Message(id=106,
                 value="HTTP2 continuation frame received without a corresponding headers or push promise frame")
        IOException http2ContinuationFrameNotExpected()
      • huffmanEncodedHpackValueDidNotEndWithEOS

        @Message(id=107,
                 value="Huffman encoded value in HPACK headers did not end with EOS padding")
        HpackException huffmanEncodedHpackValueDidNotEndWithEOS()
      • integerEncodedOverTooManyOctets

        @Message(id=108,
                 value="HPACK variable length integer encoded over too many octects, max is %s")
        HpackException integerEncodedOverTooManyOctets​(int maxIntegerOctets)
      • zeroNotValidHeaderTableIndex

        @Message(id=109,
                 value="Zero is not a valid header table index")
        HpackException zeroNotValidHeaderTableIndex()
      • cannotSendContinueResponse

        @Message(id=110,
                 value="Cannot send 100-Continue, getResponseChannel() has already been called")
        IOException cannotSendContinueResponse()
      • parserDidNotMakeProgress

        @Message(id=111,
                 value="Parser did not make progress")
        IOException parserDidNotMakeProgress()
      • headersStreamCanOnlyBeCreatedByClient

        @Message(id=112,
                 value="Only client side can call createStream, if you wish to send a PUSH_PROMISE frame use createPushPromiseStream instead")
        IOException headersStreamCanOnlyBeCreatedByClient()
      • pushPromiseCanOnlyBeCreatedByServer

        @Message(id=113,
                 value="Only the server side can send a push promise stream")
        IOException pushPromiseCanOnlyBeCreatedByServer()
      • invalidAclRule

        @Message(id=114,
                 value="Invalid IP access control rule %s. Format is: [ip-match] allow|deny")
        IllegalArgumentException invalidAclRule​(String rule)
      • serverReceivedPushPromise

        @Message(id=115,
                 value="Server received PUSH_PROMISE frame from client")
        IOException serverReceivedPushPromise()
      • connectNotSupported

        @Message(id=116,
                 value="CONNECT not supported by this connector")
        IllegalStateException connectNotSupported()
      • notAConnectRequest

        @Message(id=117,
                 value="Request was not a CONNECT request")
        IllegalStateException notAConnectRequest()
      • cannotResetBuffer

        @Message(id=118,
                 value="Cannot reset buffer, response has already been commited")
        IllegalStateException cannotResetBuffer()
      • http2PriRequestFailed

        @Message(id=119,
                 value="HTTP2 via prior knowledge failed")
        IOException http2PriRequestFailed()
      • outOfBandResponseNotSupported

        @Message(id=120,
                 value="Out of band responses are not allowed for this connector")
        IllegalStateException outOfBandResponseNotSupported()
      • tooManySessions

        @Message(id=121,
                 value="Session was rejected as the maximum number of sessions (%s) has been hit")
        IllegalStateException tooManySessions​(int maxSessions)
      • proxyConnectionFailed

        @Message(id=122,
                 value="CONNECT attempt failed as target proxy returned %s")
        IOException proxyConnectionFailed​(int responseCode)
      • mcmpMessageRejectedDueToSuspiciousCharacters

        @Message(id=123,
                 value="MCMP message %s rejected due to suspicious characters")
        RuntimeException mcmpMessageRejectedDueToSuspiciousCharacters​(String data)
      • rengotiationTimedOut

        @Message(id=124,
                 value="renegotiation timed out")
        IllegalStateException rengotiationTimedOut()
      • requestBodyAlreadyRead

        @Message(id=125,
                 value="Request body already read")
        IllegalStateException requestBodyAlreadyRead()
      • blockingIoFromIOThread

        @Message(id=126,
                 value="Attempted to do blocking IO from the IO thread. This is prohibited as it may result in deadlocks")
        IllegalStateException blockingIoFromIOThread()
      • responseComplete

        @Message(id=127,
                 value="Response has already been sent")
        IllegalStateException responseComplete()
      • couldNotReadContentLengthData

        @Message(id=128,
                 value="Remote peer closed connection before all data could be read")
        IOException couldNotReadContentLengthData()
      • failedToSendAfterBeingSafe

        @Message(id=129,
                 value="Failed to send after being safe to send")
        IllegalStateException failedToSendAfterBeingSafe()
      • reasonPhraseToLargeForBuffer

        @Message(id=130,
                 value="HTTP reason phrase was too large for the buffer. Either provide a smaller message or a bigger buffer. Phrase: %s")
        IllegalStateException reasonPhraseToLargeForBuffer​(String phrase)
      • hpackFailed

        @Message(id=132,
                 value="HPACK decode failed")
        HpackException hpackFailed()
      • notAnUpgradeRequest

        @Message(id=133,
                 value="Request did not contain an Upgrade header, upgrade is not permitted")
        IllegalStateException notAnUpgradeRequest()
      • authenticationPropertyNotSet

        @Message(id=134,
                 value="Authentication mechanism %s requires property %s to be set")
        IllegalStateException authenticationPropertyNotSet​(String name,
                                                           String header)
      • rengotiationFailed

        @Message(id=135,
                 value="renegotiation failed")
        IllegalStateException rengotiationFailed()
      • userAgentCharsetMustHaveEvenNumberOfItems

        @Message(id=136,
                 value="User agent charset string must have an even number of items, in the form pattern,charset,pattern,charset,... Instead got: %s")
        IllegalArgumentException userAgentCharsetMustHaveEvenNumberOfItems​(String supplied)
      • serverNotStarted

        @Message(id=138,
                 value="Server not started")
        IllegalStateException serverNotStarted()
      • exchangeAlreadyComplete

        @Message(id=139,
                 value="Exchange already complete")
        IllegalStateException exchangeAlreadyComplete()
      • notHandshakeRecord

        @Message(id=140,
                 value="Initial SSL/TLS data is not a handshake record")
        SSLHandshakeException notHandshakeRecord()
      • invalidHandshakeRecord

        @Message(id=141,
                 value="Initial SSL/TLS handshake record is invalid")
        SSLHandshakeException invalidHandshakeRecord()
      • multiRecordSSLHandshake

        @Message(id=142,
                 value="Initial SSL/TLS handshake spans multiple records")
        SSLHandshakeException multiRecordSSLHandshake()
      • expectedClientHello

        @Message(id=143,
                 value="Expected \"client hello\" record")
        SSLHandshakeException expectedClientHello()
      • expectedServerHello

        @Message(id=144,
                 value="Expected server hello")
        SSLHandshakeException expectedServerHello()
      • tooManyRedirects

        @Message(id=145,
                 value="Too many redirects")
        IOException tooManyRedirects​(@Cause
                                     IOException exception)
      • resumedAndDispatched

        @Message(id=146,
                 value="HttpServerExchange cannot have both async IO resumed and dispatch() called in the same cycle")
        IllegalStateException resumedAndDispatched()
      • noHostInHttp11Request

        @Message(id=147,
                 value="No host header in a HTTP/1.1 request")
        IOException noHostInHttp11Request()
      • chunkSizeTooLarge

        @Message(id=195,
                 value="Chunk size too large")
        IOException chunkSizeTooLarge()