Package io.undertow.websockets.jsr
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 TypeMethodDescriptionjavax.websocket.DeploymentException
javax.websocket.DeploymentException
classWasNotAnnotated
(Class<?> endpoint) javax.websocket.DeploymentException
javax.websocket.DeploymentException
couldNotDetermineDecoderTypeFor
(Class<?> decoderClass) javax.websocket.DeploymentException
couldNotDetermineTypeOfDecodeMethodForClass
(Class<? extends javax.websocket.Decoder> decoder, Exception e) javax.websocket.DeploymentException
couldNotDetermineTypeOfEncodeMethodForClass
(Class<? extends javax.websocket.Encoder> encoder) javax.websocket.DeploymentException
couldNotFindDecoderForType
(Class<?> param, Method method) javax.websocket.DeploymentException
couldNotFindMessageParameter
(Method method) javax.websocket.DeploymentException
didNotImplementKnownDecoderSubclass
(Class<? extends javax.websocket.Decoder> decoder) endpointDoesNotHaveAppropriateConstructor
(Class<?> endpoint) endpointNotOfCorrectType
(Object instance, Class expected) extensionWasNotPresentInClientHandshake
(String e, List<io.undertow.websockets.WebSocketExtension> supportedExtensions) handlerAlreadyRegistered
(io.undertow.websockets.jsr.FrameHandler.FrameType frameType) javax.websocket.DeploymentException
invalidParameters
(Method method, Set<Integer> allParams) javax.websocket.DeploymentException
invalidParametersWithWrongAnnotation
(Method method, Set<Integer> allParams) messageTooLarge
(int size, int max) javax.websocket.DeploymentException
moreThanOneAnnotation
(Class<?> clazz) moreThanOneParameterOfType
(Class<?> type, Method method) javax.websocket.DeploymentException
multipleEndpointsWithOverlappingPaths
(io.undertow.util.PathTemplate template, io.undertow.util.PathTemplate existing) noDecoderAcceptedMessage
(List<? extends javax.websocket.Decoder> decoders) javax.websocket.DeploymentException
notAValidClientEndpointType
(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") javax.websocket.DeploymentException clientNotSupported() -
handlerAlreadyRegistered
@Message(id=3005, value="MessageHandler for type %s already registered") IllegalStateException handlerAlreadyRegistered(io.undertow.websockets.jsr.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") javax.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") javax.websocket.DeploymentException couldNotDetermineTypeOfEncodeMethodForClass(Class<? extends javax.websocket.Encoder> encoder) -
didNotImplementKnownDecoderSubclass
@Message(id=3020, value="%s did not implement known decoder interface") javax.websocket.DeploymentException didNotImplementKnownDecoderSubclass(Class<? extends javax.websocket.Decoder> decoder) -
classDoesNotHaveDefaultConstructor
@Message(id=3021, value="%s does not have default constructor") javax.websocket.DeploymentException classDoesNotHaveDefaultConstructor(Class<?> c, @Cause NoSuchMethodException e) -
multipleEndpointsWithOverlappingPaths
@Message(id=3023, value="Multiple endpoints with the same logical mapping %s and %s") javax.websocket.DeploymentException multipleEndpointsWithOverlappingPaths(io.undertow.util.PathTemplate template, io.undertow.util.PathTemplate existing) -
couldNotDeploy
@Message(id=3024, value="Web socket deployment failed") javax.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") javax.websocket.DeploymentException notAValidClientEndpointType(Class<?> type) -
classWasNotAnnotated
@Message(id=3027, value="Class %s was not annotated with @ClientEndpoint or @ServerEndpoint") javax.websocket.DeploymentException classWasNotAnnotated(Class<?> endpoint) -
couldNotFindDecoderForType
-
couldNotFindMessageParameter
@Message(id=3029, value="Could not find message parameter on method %s") javax.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
-
extensionWasNotPresentInClientHandshake
@Message(id=3034, value="Server provided extension %s which was not in client supported extensions %s") IOException extensionWasNotPresentInClientHandshake(String e, List<io.undertow.websockets.WebSocketExtension> 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.") InstantiationException endpointDoesNotHaveAppropriateConstructor(Class<?> endpoint) -
deploymentFailedDueToProgramaticErrors
@Message(id=3042, value="Deployment failed due to invalid programmatically added endpoints") RuntimeException deploymentFailedDueToProgramaticErrors()
-