public final class RtspVersions
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static HttpVersion |
RTSP_1_0
RTSP/1.0
|
限定符和类型 | 方法和说明 |
---|---|
static HttpVersion |
valueOf(java.lang.String text)
Returns an existing or new
HttpVersion instance which matches to
the specified RTSP version string. |
public static final HttpVersion RTSP_1_0
public static HttpVersion valueOf(java.lang.String text)
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.