Package io.undertow
Interface UndertowMessages
- All Known Implementing Classes:
UndertowMessages_$bundle
@MessageBundle(projectCode="UT")
public interface UndertowMessages
- Author:
- Stuart Douglas
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionargumentCannotBeNull
(String argument) authenticationFailed
(String userName) authenticationPropertyNotSet
(String name, String header) org.xnio.channels.ReadTimeoutException
blockingReadTimedOut
(long timeoutNanoseconds) org.xnio.channels.WriteTimeoutException
blockingWriteTimedOut
(long timeoutNanoseconds) bufferPoolTooSmall
(int minSize) couldNotParseCookie
(String headerValue) couldNotParseUriTemplate
(String path, int i) couldNotSetAttribute
(String attributeName, String newValue) duplicatedSniServerName
(int type) errorParsingPredicateString
(String reason, String s) failedToDecodeParameterName
(String parameter, Exception e) failedToDecodeParameterValue
(String parameter, String value, Exception e) failedToDecodeURL
(String s, String enc, Exception e) failedToInitializePathManager
(String path, IOException ioe) hashAlgorithmNotFound
(String algorithmName) hostAlreadyRegistered
(Object host) integerEncodedOverTooManyOctets
(int maxIntegerOctets) invalidAclRule
(String rule) invalidBase64Token
(IOException cause) invalidCharacterInRequestTarget
(char next) invalidControlCharacter
(String value) invalidCookieDomain
(String value) invalidCookiePath
(String value) invalidCookieValue
(String value) invalidHpackEncoding
(byte b) invalidHpackIndex
(int index) invalidIpAddress
(String addressString) invalidSameSiteMode
(String mode, String validAttributes) invalidToken
(byte c) matcherAlreadyContainsTemplate
(String templateString, String templateString1) maxFileSizeExceeded
(long maxIndividualFileSize) mismatchedBraces
(String valueString) moreThanOneHandlerWithName
(String name, Class<? extends HandlerBuilder> aClass, Class<? extends HandlerBuilder> existing) moreThanOnePredicateWithName
(String name, Class<? extends PredicateBuilder> aClass, Class<? extends PredicateBuilder> existing) notAValidIpPattern
(String peer) notAValidRegularExpressionPattern
(String pattern) noWindowUpdate
(long timeoutMiliseconds) pathElementIsRegularFile
(Path path) pathNotADirectory
(Path path) proxyConnectionFailed
(int responseCode) pseudoHeaderInWrongOrder
(HttpString header) org.xnio.channels.ReadTimeoutException
readTimedOut
(long timeoutMilliseconds) reasonPhraseToLargeForBuffer
(String phrase) requestEntityWasTooLarge
(long size) responseTooLargeToBuffer
(Long length) sendChallengeReturnedNull
(AuthenticationMechanism mechanism) sessionIsInvalid
(String sessionId) sessionWithIdAlreadyExists
(String sessionID) streamIdMustBeZeroForFrameType
(int frameType) streamIdMustNotBeZeroForFrameType
(int frameType) tooManyCookies
(int maxCookies) tooManyHeaders
(int noParams) tooManyParameters
(int maxValues) tooManyQueryParameters
(int noParams) tooManyRedirects
(IOException exception) tooManySessions
(int maxSessions) userAuthenticated
(String userName) userLoggedOut
(String userName) wrongMagicNumber
(int number)
-
Field Details
-
MESSAGES
-
-
Method Details
-
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() -
handlerCannotBeNull
-
pathMustBeSpecified
-
sessionIsInvalid
@Message(id=10, value="Session is invalid %s") IllegalStateException sessionIsInvalid(String sessionId) -
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() -
argumentCannotBeNull
@Message(id=13, value="Argument %s cannot be null") IllegalArgumentException argumentCannotBeNull(String argument) -
formValueIsAFile
@Message(id=17, value="Form value is a file, use getFileItem() instead") IllegalStateException formValueIsAFile() -
formValueIsAString
@Message(id=18, value="Form value is a String, use getValue() instead") IllegalStateException formValueIsAString() -
requestEntityWasTooLarge
@Message(id=20, value="Connection terminated as request was larger than %s") RequestTooBigException 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) -
invalidBase64Token
@Message(id=23, value="An invalid Base64 token has been received.") IllegalArgumentException invalidBase64Token(@Cause IOException cause) -
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) -
invalidHeader
-
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
-
userLoggedOut
-
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
-
authenticationFailed
-
tooManyQueryParameters
@Message(id=39, value="Too many query parameters, cannot have more than %s query parameters") BadRequestException tooManyQueryParameters(int noParams) -
tooManyHeaders
@Message(id=40, value="Too many headers, cannot have more than %s header") String tooManyHeaders(int noParams) -
channelIsClosed
-
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() -
moreThanOnePredicateWithName
@Message(id=44, value="More than one predicate with name %s. Builder class %s and %s") IllegalStateException moreThanOnePredicateWithName(String name, Class<? extends PredicateBuilder> aClass, Class<? extends PredicateBuilder> existing) -
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") ParameterLimitException tooManyParameters(int maxValues) -
noRequestActive
-
authMechanismOutcomeNull
@Message(id=50, value="AuthenticationMechanism Outcome is null") IllegalStateException authMechanismOutcomeNull() -
notAValidIpPattern
@Message(id=51, value="Not a valid IP pattern %s") IllegalArgumentException notAValidIpPattern(String peer) -
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") MultiPartParserDefinition.FileTooLargeException maxFileSizeExceeded(long maxIndividualFileSize) -
couldNotSetAttribute
-
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) -
moreThanOneHandlerWithName
@Message(id=58, value="More than one handler with name %s. Builder class %s and %s") IllegalStateException moreThanOneHandlerWithName(String name, Class<? extends HandlerBuilder> aClass, Class<? extends HandlerBuilder> existing) -
outOfBandResponseOnlyAllowedFor100Continue
@Message(id=61, value="Out of band responses only allowed for 100-continue requests") IllegalArgumentException outOfBandResponseOnlyAllowedFor100Continue() -
sslWasNull
-
wrongMagicNumber
@Message(id=66, value="Incorrect magic number %s for AJP packet header") IOException wrongMagicNumber(int number) -
peerUnverified
-
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) -
failedToDecodeURL
@Message(id=72, value="Failed to decode url %s to charset %s") UrlDecodeException failedToDecodeURL(String s, String enc, @Cause Exception e) -
resourceChangeListenerNotSupported
@Message(id=73, value="Resource change listeners are not supported") IllegalArgumentException resourceChangeListenerNotSupported() -
objectWasFreed
-
handlerNotShutdown
-
upgradeNotSupported
@Message(id=77, value="The underlying transport does not support HTTP upgrade") IllegalStateException upgradeNotSupported() -
renegotiationNotSupported
-
notAValidRegularExpressionPattern
@Message(id=80, value="Not a valid regular expression pattern %s") IllegalArgumentException notAValidRegularExpressionPattern(String pattern) -
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() -
controlFrameCannotHaveBodyContent
@Message(id=88, value="SPDY control frames cannot have body content") IOException controlFrameCannotHaveBodyContent() -
bufferAlreadyFreed
-
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
-
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) -
http2StreamWasReset
-
incorrectHttp2Preface
-
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
-
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
-
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
-
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
-
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) -
poolIsClosed
-
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
-
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) -
datasourceNotFound
@Message(id=137, value="Could not find the datasource called %s") IllegalArgumentException datasourceNotFound(String ds) -
serverNotStarted
-
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
-
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
-
invalidHpackEncoding
@Message(id=148, value="Invalid HPack encoding. First byte: %s") HpackException invalidHpackEncoding(byte b) -
newlineNotSupportedInHttpString
@Message(id=149, value="HttpString is not allowed to contain newlines. value: %s") IllegalArgumentException newlineNotSupportedInHttpString(String value) -
pseudoHeaderInWrongOrder
@Message(id=150, value="Pseudo header %s received after receiving normal headers. Pseudo headers must be the first headers in a HTTP/2 header block.") String pseudoHeaderInWrongOrder(HttpString header) -
expectedContinuationFrame
@Message(id=151, value="Expected to receive a continuation frame") String expectedContinuationFrame() -
incorrectFrameSize
-
streamNotRegistered
-
sendChallengeReturnedNull
@Message(id=154, value="Mechanism %s returned a null result from sendChallenge()") NullPointerException sendChallengeReturnedNull(AuthenticationMechanism mechanism) -
bodyIsSetAndNotReadyForFlush
@Message(id=155, value="Framed channel body was set when it was not ready for flush") IllegalStateException bodyIsSetAndNotReadyForFlush() -
invalidGzipHeader
-
responseTooLargeToBuffer
@Message(id=158, value="Response of length %s is too large to buffer") IllegalStateException responseTooLargeToBuffer(Long length) -
headerBlockTooLarge
-
invalidSameSiteMode
@Message(id=162, value="An invalid SameSite attribute [%s] is specified. It must be one of %s") IllegalArgumentException invalidSameSiteMode(String mode, String validAttributes) -
invalidToken
-
invalidHeaders
@Message(id=164, value="Request contained invalid headers") IllegalArgumentException invalidHeaders() -
invalidCharacterInRequestTarget
@Message(id=165, value="Invalid character %s in request-target") String invalidCharacterInRequestTarget(char next) -
objectIsClosed
-
moreThanOneHostHeader
-
invalidCookieValue
@Message(id=168, value="An invalid character [ASCII code: %s] was present in the cookie value") IllegalArgumentException invalidCookieValue(String value) -
invalidCookieDomain
@Message(id=169, value="An invalid domain [%s] was specified for this cookie") IllegalArgumentException invalidCookieDomain(String value) -
invalidCookiePath
@Message(id=170, value="An invalid path [%s] was specified for this cookie") IllegalArgumentException invalidCookiePath(String value) -
invalidControlCharacter
@Message(id=173, value="An invalid control character [%s] was present in the cookie value or attribute") IllegalArgumentException invalidControlCharacter(String value) -
invalidEscapeCharacter
@Message(id=174, value="An invalid escape character in cookie value") IllegalArgumentException invalidEscapeCharacter() -
invalidHpackIndex
-
bufferPoolTooSmall
@Message(id=178, value="Buffer pool is too small, min size is %s") IllegalArgumentException bufferPoolTooSmall(int minSize) -
invalidProxyHeader
-
headerSizeToLarge
@Message(id=180, value="PROXY protocol header exceeded max size of 107 bytes") IOException headerSizeToLarge() -
http2TrailerToLargeForSingleBuffer
@Message(id=181, value="HTTP/2 trailers too large for single buffer") RuntimeException http2TrailerToLargeForSingleBuffer() -
pingNotSupported
-
pingTimeout
-
streamLimitExceeded
-
invalidIpAddress
-
invalidTlsExt
-
notEnoughData
-
emptyHostNameSni
-
duplicatedSniServerName
@Message(id=189, value="Duplicated host name of type %s") SSLException duplicatedSniServerName(int type) -
noContextForSslConnection
-
defaultContextCannotBeNull
@Message(id=191, value="Default context cannot be null") IllegalStateException defaultContextCannotBeNull() -
formValueIsInMemoryFile
@Message(id=192, value="Form value is a in-memory file, use getFileItem() instead") IllegalStateException formValueIsInMemoryFile() -
failedToDecodeParameterValue
-
failedToDecodeParameterName
-
chunkSizeTooLarge
-
sessionWithIdAlreadyExists
@Message(id=196, value="Session with id %s already exists") IllegalStateException sessionWithIdAlreadyExists(String sessionID) -
blockingReadTimedOut
@Message(id=197, value="Blocking read timed out after %s nanoseconds.") org.xnio.channels.ReadTimeoutException blockingReadTimedOut(long timeoutNanoseconds) -
blockingWriteTimedOut
@Message(id=198, value="Blocking write timed out after %s nanoseconds.") org.xnio.channels.WriteTimeoutException blockingWriteTimedOut(long timeoutNanoseconds) -
readTimedOut
@Message(id=199, value="Read timed out after %s milliseconds.") org.xnio.channels.ReadTimeoutException readTimedOut(long timeoutMilliseconds) -
failedToReplaceHashOutputStream
@Message(id=200, value="Failed to replace hash output stream ") SSLException failedToReplaceHashOutputStream(@Cause Exception e) -
failedToReplaceHashOutputStreamOnWrite
@Message(id=201, value="Failed to replace hash output stream ") RuntimeException failedToReplaceHashOutputStreamOnWrite(@Cause Exception e) -
failedToInitializePathManager
@Message(id=202, value="Failed to initialize path manager for \'%s\' path.") RuntimeException failedToInitializePathManager(String path, @Cause IOException ioe) -
invalidACLAddress
@Message(id=203, value="Invalid ACL entry") IllegalArgumentException invalidACLAddress(@Cause Exception e) -
noWindowUpdate
@Message(id=204, value="Out of flow control window: no WINDOW_UPDATE received from peer within %s miliseconds") IOException noWindowUpdate(long timeoutMiliseconds) -
pathNotADirectory
-
pathElementIsRegularFile
@Message(id=206, value="Path \'%s\' is not a directory") IOException pathElementIsRegularFile(Path path)
-