Layer4Protocol クラス

public final class Layer4Protocol
extends ExpandableStringEnum<Layer4Protocol>

一致する必要があるレイヤー 4 プロトコルの種類。

フィールドの概要

修飾子と型 フィールドと説明
static final Layer4Protocol TCP

Layer4Protocol の静的値 TCP。

static final Layer4Protocol UDP

Layer4Protocol の静的値 UDP。

コンストラクターの概要

コンストラクター 説明
Layer4Protocol()

非推奨

ファクトリ メソッドを使用します fromString(String name)

Layer4Protocol 値の新しいインスタンスを作成します。

メソッドの概要

修飾子と型 メソッドと説明
static Layer4Protocol fromString(String name)

Layer4Protocol を文字列表現から作成または検索します。

static Collection<Layer4Protocol> values()

既知の Layer4Protocol 値を取得します。

メソッドの継承元: ExpandableStringEnum

メソッドの継承元: java.lang.Object

フィールドの詳細

TCP

public static final Layer4Protocol TCP

Layer4Protocol の静的値 TCP。

UDP

public static final Layer4Protocol UDP

Layer4Protocol の静的値 UDP。

コンストラクターの詳細

Layer4Protocol

@Deprecated
public Layer4Protocol()

非推奨

ファクトリ メソッドを使用します fromString(String name)

Layer4Protocol 値の新しいインスタンスを作成します。

メソッドの詳細

fromString

public static Layer4Protocol fromString(String name)

Layer4Protocol を文字列表現から作成または検索します。

Parameters:

name - 検索する名前。

Returns:

対応する Layer4Protocol。

values

public static Collection values()

既知の Layer4Protocol 値を取得します。

Returns:

既知の Layer4Protocol 値。

適用対象