Class RtspVersions
java.lang.Object
io.netty.handler.codec.rtsp.RtspVersions
public final class RtspVersions
extends java.lang.Object
The version of RTSP.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpVersionvalueOf(java.lang.String text) Returns an existing or newHttpVersioninstance which matches to the specified RTSP version string.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
RTSP_1_0
RTSP/1.0
-
-
Constructor Details
-
RtspVersions
private RtspVersions()
-
-
Method Details
-
valueOf
Returns an existing or newHttpVersioninstance which matches to the specified RTSP version string. If the specifiedtextis equal to"RTSP/1.0",RTSP_1_0will be returned. Otherwise, a newHttpVersioninstance will be returned.
-