Share via


HasPort.DefinitionStages.WithPort<ReturnT> Interface

Type Parameters

ReturnT

the next stage of the definition

public static interface HasPort.DefinitionStages.WithPort

The stage of a definition allowing to specify the port number.

Method Summary

Modifier and Type Method and Description
abstract ReturnT withPort(int portNumber)

Specifies the port number.

Method Details

withPort

public abstract ReturnT withPort(int portNumber)

Specifies the port number.

Parameters:

portNumber - a port number

Returns:

the next stage of the definition

Applies to