com.aspose.html.net.messagefilters

Class ProtocolMessageFilter



  • public class ProtocolMessageFilter
    extends MessageFilter

    Represents implementation of message filter by the resource protocol.

    See Also:
    MessageFilter
    • Constructor Detail

      • ProtocolMessageFilter

        public ProtocolMessageFilter(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, .