Interface PCFilter.DefinitionStages.WithLocalPort<ParentT>

Type Parameters:
ParentT - the stage of the parent definition to return to after attaching this definition
All Known Subinterfaces:
PCFilter.Definition<ParentT>, PCFilter.DefinitionStages.Blank<ParentT>, PCFilter.DefinitionStages.WithAttach<ParentT>
Enclosing interface:
PCFilter.DefinitionStages

public static interface PCFilter.DefinitionStages.WithLocalPort<ParentT>
Set local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.
  • Method Details

    • withLocalPort

      PCFilter.Definition<ParentT> withLocalPort(int port)
      Set the local port to be filtered on.
      Parameters:
      port - port number
      Returns:
      the next stage
    • withLocalPortRange

      PCFilter.Definition<ParentT> withLocalPortRange(int startPort, int endPort)
      Set the local port range to be filtered on.
      Parameters:
      startPort - range start port number
      endPort - range end port number
      Returns:
      the next stage
    • withLocalPorts

      PCFilter.Definition<ParentT> withLocalPorts(List<Integer> ports)
      Set the list of local ports to be filtered on.
      Parameters:
      ports - list of local ports
      Returns:
      the next stage