Class ClientStompEncoder

java.lang.Object
org.springframework.messaging.simp.stomp.StompEncoder
org.springframework.integration.websocket.support.ClientStompEncoder

public class ClientStompEncoder
extends org.springframework.messaging.simp.stomp.StompEncoder
A StompEncoder extension to prepare a message for sending/receiving before/after encoding/decoding when used from WebSockets client side. For example it updates the stompCommand header from the MESSAGE to SEND frame, which is the case of StompSubProtocolHandler.
Since:
4.3.13
  • Constructor Summary

    Constructors 
    Constructor Description
    ClientStompEncoder()  
  • Method Summary

    Modifier and Type Method Description
    byte[] encode​(java.util.Map<java.lang.String,​java.lang.Object> headers, byte[] payload)  

    Methods inherited from class org.springframework.messaging.simp.stomp.StompEncoder

    encode

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • encode

      public byte[] encode​(java.util.Map<java.lang.String,​java.lang.Object> headers, byte[] payload)
      Overrides:
      encode in class org.springframework.messaging.simp.stomp.StompEncoder