Share via


HasProtocol.DefinitionStages.WithProtocol<ReturnT,ProtocolT> Interface

Type Parameters

ReturnT

the next stage of the definition

ProtocolT

the type of the protocol value

public static interface HasProtocol.DefinitionStages.WithProtocol<ReturnT,ProtocolT>

The stage of a definition allowing to specify the protocol.

Method Summary

Modifier and Type Method and Description
abstract ReturnT withProtocol(ProtocolT protocol)

Specifies the transport protocol.

Method Details

withProtocol

public abstract ReturnT withProtocol(ProtocolT protocol)

Specifies the transport protocol.

Parameters:

protocol - a transport protocol

Returns:

the next stage of the definition

Applies to