com.aspose.html.net.messagefilters

Class ProtocolMessageFilter



  • public class ProtocolMessageFilter
    extends MessageFilter

    Represents implementation of message filter by the resource protocol.

    See Also:
    MessageFilter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean match(INetworkOperationContext context)
      When overridden in a derived class, tests whether a Context satisfies the filter criteria.
      • Methods inherited from class java.lang.Object

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

      • ProtocolMessageFilter

        public ProtocolMessageFilter(java.lang.String... protocols)

        Initializes a new instance of the ProtocolMessageFilter class.

        Parameters:
        protocols - The protocols.
    • Method Detail

      • match

        public boolean match(INetworkOperationContext context)

        When overridden in a derived class, tests whether a Context satisfies the filter criteria.

        Specified by:
        match in class MessageFilter
        Parameters:
        context - The context. Value: trueValue: false
        Returns:
        if the Context object satisfies the filter criteria; otherwise, .