Top Description Fields Constructors Methods
io.netty5.handler.codec.rtsp

public final Class RtspVersions

extends Object
Class Inheritance
Imports
io.netty5.handler.codec.http.HttpVersion

The version of RTSP.

Field Summary

Modifier and TypeField and Description
public static final HttpVersion
RTSP_1_0

RTSP/1.0

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static HttpVersion
valueOf(String text)

Returns an existing or new HttpVersion instance which matches to the specified RTSP version string.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

RTSP_1_0back to summary
public static final HttpVersion RTSP_1_0

RTSP/1.0

Constructor Detail

RtspVersionsback to summary
private RtspVersions()

Method Detail

valueOfback to summary
public static HttpVersion valueOf(String text)

Returns an existing or new HttpVersion instance which matches to the specified RTSP version string. If the specified text is equal to "RTSP/1.0", RTSP_1_0 will be returned. Otherwise, a new HttpVersion instance will be returned.