Package io.undertow.websockets
Interface JsrWebSocketMessages
- All Known Implementing Classes:
JsrWebSocketMessages_$bundle
@MessageBundle(projectCode="UT")
public interface JsrWebSocketMessages
start at 3000
- Author:
- Norman Maurer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionjakarta.websocket.DeploymentExceptionjakarta.websocket.DeploymentExceptionclassWasNotAnnotated(Class<?> endpoint) jakarta.websocket.DeploymentExceptionjakarta.websocket.DeploymentExceptioncouldNotDetermineDecoderTypeFor(Class<?> decoderClass) jakarta.websocket.DeploymentExceptioncouldNotDetermineTypeOfDecodeMethodForClass(Class<? extends jakarta.websocket.Decoder> decoder, Exception e) jakarta.websocket.DeploymentExceptioncouldNotDetermineTypeOfEncodeMethodForClass(Class<? extends jakarta.websocket.Encoder> encoder) jakarta.websocket.DeploymentExceptioncouldNotFindDecoderForType(Class<?> param, Method method) jakarta.websocket.DeploymentExceptioncouldNotFindMessageParameter(Method method) couldNotParseUriTemplate(String path, int length) jakarta.websocket.DeploymentExceptiondidNotImplementKnownDecoderSubclass(Class<? extends jakarta.websocket.Decoder> decoder) endpointDoesNotHaveAppropriateConstructor(Class<?> endpoint) endpointNotOfCorrectType(Object instance, Class expected) extensionWasNotPresentInClientHandshake(String e, List supportedExtensions) handlerAlreadyRegistered(io.undertow.websockets.FrameHandler.FrameType frameType) jakarta.websocket.DeploymentExceptioninvalidParameters(Method method, Set<Integer> allParams) jakarta.websocket.DeploymentExceptioninvalidParametersWithWrongAnnotation(Method method, Set<Integer> allParams) matcherAlreadyContainsTemplate(String templateString, String templateString1) messageTooLarge(int size, int max) jakarta.websocket.DeploymentExceptionmoreThanOneAnnotation(Class<?> clazz) moreThanOneParameterOfType(Class<?> type, Method method) jakarta.websocket.DeploymentExceptionmultipleEndpointsWithOverlappingPaths(PathTemplate template, PathTemplate existing) noDecoderAcceptedMessage(List<? extends jakarta.websocket.Decoder> decoders) jakarta.websocket.DeploymentExceptionnotAValidClientEndpointType(Class<?> type) parameterNotFound(Class<?> type, Method method) unknownEncoderType(Class<?> clazz) unknownHandlerType(Class<?> clazz) unsupportedFrameType(Class<?> clazz)
-
Field Details
-
MESSAGES
-
-
Method Details
-
pongMessageNotSupported
@Message(id=3001, value="PongMessage not supported with MessageHandler.Async") IllegalStateException pongMessageNotSupported() -
sendStreamClosed
-
sendWriterClosed
-
clientNotSupported
@Message(id=3004, value="Client not supported") jakarta.websocket.DeploymentException clientNotSupported() -
handlerAlreadyRegistered
@Message(id=3005, value="MessageHandler for type %s already registered") IllegalStateException handlerAlreadyRegistered(io.undertow.websockets.FrameHandler.FrameType frameType) -
unsupportedFrameType
@Message(id=3006, value="Unable to detect FrameType for clazz %s") IllegalStateException unsupportedFrameType(Class<?> clazz) -
unknownHandlerType
@Message(id=3007, value="Unable to detect MessageHandler type for %s") IllegalStateException unknownHandlerType(Class<?> clazz) -
unknownEncoderType
@Message(id=3008, value="Unable to detect Encoder type for %s") IllegalStateException unknownEncoderType(Class<?> clazz) -
moreThanOneParameterOfType
@Message(id=3009, value="More than one %s parameter for %s") IllegalArgumentException moreThanOneParameterOfType(Class<?> type, Method method) -
parameterNotFound
@Message(id=3010, value="No parameter of type %s found in method %s") IllegalArgumentException parameterNotFound(Class<?> type, Method method) -
moreThanOneAnnotation
@Message(id=3011, value="More than one method is annotated with %s") jakarta.websocket.DeploymentException moreThanOneAnnotation(Class<?> clazz) -
invalidParameters
-
couldNotDetermineDecoderTypeFor
@Message(id=3014, value="Could not determine decoder type for %s") IllegalArgumentException couldNotDetermineDecoderTypeFor(Class<?> decoderClass) -
noDecoderAcceptedMessage
-
cannotSendInMiddleOfFragmentedMessage
@Message(id=3016, value="Cannot send in middle of fragmeneted message") IllegalStateException cannotSendInMiddleOfFragmentedMessage() -
cannotAddEndpointAfterDeployment
@Message(id=3017, value="Cannot add endpoint after deployment") IllegalStateException cannotAddEndpointAfterDeployment() -
couldNotDetermineTypeOfDecodeMethodForClass
-
couldNotDetermineTypeOfEncodeMethodForClass
@Message(id=3019, value="Could not determine type of encode method for class %s") jakarta.websocket.DeploymentException couldNotDetermineTypeOfEncodeMethodForClass(Class<? extends jakarta.websocket.Encoder> encoder) -
didNotImplementKnownDecoderSubclass
@Message(id=3020, value="%s did not implement known decoder interface") jakarta.websocket.DeploymentException didNotImplementKnownDecoderSubclass(Class<? extends jakarta.websocket.Decoder> decoder) -
classDoesNotHaveDefaultConstructor
@Message(id=3021, value="%s does not have default constructor") jakarta.websocket.DeploymentException classDoesNotHaveDefaultConstructor(Class<?> c, @Cause NoSuchMethodException e) -
multipleEndpointsWithOverlappingPaths
@Message(id=3023, value="Multiple endpoints with the same logical mapping %s and %s") jakarta.websocket.DeploymentException multipleEndpointsWithOverlappingPaths(PathTemplate template, PathTemplate existing) -
couldNotDeploy
@Message(id=3024, value="Web socket deployment failed") jakarta.websocket.DeploymentException couldNotDeploy(@Cause Exception e) -
cannotConnectUntilDeploymentComplete
@Message(id=3025, value="Cannot connect until deployment is complete") IllegalStateException cannotConnectUntilDeploymentComplete() -
notAValidClientEndpointType
@Message(id=3026, value="%s is not a valid client endpoint type") jakarta.websocket.DeploymentException notAValidClientEndpointType(Class<?> type) -
classWasNotAnnotated
@Message(id=3027, value="Class %s was not annotated with @ClientEndpoint or @ServerEndpoint") jakarta.websocket.DeploymentException classWasNotAnnotated(Class<?> endpoint) -
couldNotFindDecoderForType
-
couldNotFindMessageParameter
@Message(id=3029, value="Could not find message parameter on method %s") jakarta.websocket.DeploymentException couldNotFindMessageParameter(Method method) -
receivedTextFrameButNoMethod
@Message(id=3030, value="Received a text frame however endpoint does not have a method capable of handling it") RuntimeException receivedTextFrameButNoMethod() -
receivedBinaryFrameButNoMethod
@Message(id=3031, value="Received a binary frame however endpoint does not have a method capable of handling it") RuntimeException receivedBinaryFrameButNoMethod() -
invalidParametersWithWrongAnnotation
@Message(id=3033, value="Method %s has invalid parameters at locations %s. It looks like you may have accidentally used jakarta.ws.rs.PathParam instead of jakarta.websocket.server.PathParam") jakarta.websocket.DeploymentException invalidParametersWithWrongAnnotation(Method method, Set<Integer> allParams) -
extensionWasNotPresentInClientHandshake
@Message(id=3034, value="Server provided extension %s which was not in client supported extensions %s") IOException extensionWasNotPresentInClientHandshake(String e, List supportedExtensions) -
connectionTimedOut
-
handlerIsNull
-
messageInNull
-
messageTooLarge
@Message(id=3038, value="Message of size %s was larger than the maximum of %s") IllegalArgumentException messageTooLarge(int size, int max) -
cannotInstantiateEndpoint
@Message(id=3039, value="The container cannot find a suitable constructor to instantiate endpoint of type %s") InstantiationException cannotInstantiateEndpoint(Class<?> c) -
endpointNotOfCorrectType
@Message(id=3040, value="Annotated endpoint instance %s was not of correct type %s") IllegalArgumentException endpointNotOfCorrectType(Object instance, Class expected) -
endpointDoesNotHaveAppropriateConstructor
@Message(id=3041, value="Annotated endpoint %s does not have a no arg constructor, but is using a custom configurator. The custom configurator must create the instance.") RuntimeException endpointDoesNotHaveAppropriateConstructor(Class<?> endpoint) -
deploymentFailedDueToProgramaticErrors
@Message(id=3042, value="Deployment failed due to invalid programmatically added endpoints") RuntimeException deploymentFailedDueToProgramaticErrors() -
pathMustBeSpecified
-
couldNotParseUriTemplate
@Message(id=3044, value="Could not path URI template %s at position %s") RuntimeException couldNotParseUriTemplate(String path, int length) -
matcherAlreadyContainsTemplate
@Message(id=3045, value="Cannot add path template %s, matcher already contains an equivalent pattern %s") IllegalStateException matcherAlreadyContainsTemplate(String templateString, String templateString1)
-