Class RtspVersions


  • public final class RtspVersions
    extends Object
    The version of RTSP.
    • 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 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.