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 Summary
Modifier and TypeMethodDescriptionwithLocalPort(int port) Set the local port to be filtered on.withLocalPortRange(int startPort, int endPort) Set the local port range to be filtered on.withLocalPorts(List<Integer> ports) Set the list of local ports to be filtered on.
-
Method Details
-
withLocalPort
Set the local port to be filtered on.- Parameters:
port- port number- Returns:
- the next stage
-
withLocalPortRange
Set the local port range to be filtered on.- Parameters:
startPort- range start port numberendPort- range end port number- Returns:
- the next stage
-
withLocalPorts
Set the list of local ports to be filtered on.- Parameters:
ports- list of local ports- Returns:
- the next stage
-