Package 

Class HttpDemuxFilter

  • All Implemented Interfaces:
    org.ice4j.socket.DatagramPacketFilter

    
    public class HttpDemuxFilter
     implements DatagramPacketFilter
                        

    Implements a DatagramPacketFilter which allows demultiplexing HTTP(S) out of MuxServerSocketChannel. Accepts HTTP, SSL v2, and TLS. Rejects Google TURN SSLTCP.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      boolean accept(DatagramPacket p) Determines whether a specific DatagramPacket looks like the beginning of HTTP(S) client communication.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • accept

         boolean accept(DatagramPacket p)

        Determines whether a specific DatagramPacket looks like the beginning of HTTP(S) client communication. Accepts HTTP, SSL v2, and TLS. Rejects Google TURN SSLTCP.

        Parameters:
        p - the DatagramPacket to analyze