Interface IRemotingConnection

All Superinterfaces:
AttributeStoreMXBean, IAttributeStore, ICastingAttributeStore, IConnection, ICoreObject, IEventDispatcher, IEventHandler, IEventListener

public interface IRemotingConnection extends IConnection
Connection coming from Remoting clients.
Author:
The Red5 Project, Joachim Bauch (jojo@struktur.de)
  • Method Details

    • addHeader

      void addHeader(String name, Object value)
      Tell the client to add a header with all further requests. This is returned to the client as response for the next request received.
      Parameters:
      name - name of the header to add
      value - value of the header to add
    • addHeader

      void addHeader(String name, Object value, boolean mustUnderstand)
      Tell the client to add a header with all further requests. This is returned to the client as response for the next request received.
      Parameters:
      name - name of the header to add
      value - value of the header to add
      mustUnderstand - a boolean flag specifying if the server must pocess this header before handling following headers or messages
    • removeHeader

      void removeHeader(String name)
      Tell the client to no longer send a header with all further requests. This is returned to the client as response for the next request received.
      Parameters:
      name - name of the header to remove
    • getHeaders

      Return headers to send.
      Returns:
      headers to send