- java.lang.Object
-
- io.netty5.handler.codec.rtsp.RtspVersions
-
public final class RtspVersions extends Object
The version of RTSP.
-
-
Field Summary
Fields Modifier and Type Field Description static HttpVersion
RTSP_1_0
RTSP/1.0
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpVersion
valueOf(String text)
Returns an existing or newHttpVersion
instance which matches to the specified RTSP version string.
-
-
-
Field Detail
-
RTSP_1_0
public static final HttpVersion RTSP_1_0
RTSP/1.0
-
-
Method Detail
-
valueOf
public static HttpVersion valueOf(String text)
Returns an existing or newHttpVersion
instance which matches to the specified RTSP version string. If the specifiedtext
is equal to"RTSP/1.0"
,RTSP_1_0
will be returned. Otherwise, a newHttpVersion
instance will be returned.
-
-