Package 

Class WsMessageContext

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String sessionId
      public final Session session
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String message()
      final <T extends Any> T messageAsClass(Type type)
      final <T extends Any> T messageAsClass(Class<T> clazz)
      final <T extends Any> T messageAsClass()
      • Methods inherited from class io.javalin.websocket.WsContext

        attribute, attribute, attributeMap, closeSession, closeSession, closeSession, cookie, cookieMap, disableAutomaticPings, enableAutomaticPings, enableAutomaticPings, enableAutomaticPings, enableAutomaticPings, equals, getSessionId, hashCode, header, headerMap, host, matchedPath, pathParam, pathParamAsClass, pathParamAsClass, pathParamMap, queryParam, queryParamAsClass, queryParamAsClass, queryParamMap, queryParams, queryString, send, send, send, sendAsClass, sendAsClass, sendPing, sendPing, sessionAttribute, sessionAttributeMap
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait