Interface TrafficMonitor


public interface TrafficMonitor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    requestReceived(int size, String sid, String path)
    Will be called from request receiver
    void
    responseSend(int size, String sid, String path)
    Will be called from response sender
  • Method Details

    • requestReceived

      void requestReceived(int size, String sid, String path)
      Will be called from request receiver
      Parameters:
      size - bytes count from request content length
      sid - user session identifier, can be null
      path - request path, can be null
    • responseSend

      void responseSend(int size, String sid, String path)
      Will be called from response sender
      Parameters:
      size - bytes count from response content length
      sid - user session identifier, can be null
      path - request path, can be null