Class SendUtils

java.lang.Object
com.mikuac.shiro.common.utils.SendUtils

public class SendUtils extends Object
Created on 2021/7/7.
  • Constructor Summary

    Constructors
    Constructor
    Description
    SendUtils(org.springframework.web.socket.WebSocketSession session, int timeout)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCallback(com.alibaba.fastjson2.JSONObject resp)
     
    com.alibaba.fastjson2.JSONObject
    send(@NonNull com.alibaba.fastjson2.JSONObject payload)
     

    Methods inherited from class java.lang.Object

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

    • SendUtils

      public SendUtils(org.springframework.web.socket.WebSocketSession session, int timeout)
  • Method Details

    • send

      public com.alibaba.fastjson2.JSONObject send(@NonNull @NonNull com.alibaba.fastjson2.JSONObject payload)
    • onCallback

      public void onCallback(com.alibaba.fastjson2.JSONObject resp)