Home / Class/ RtspMethods Class — netty Architecture

RtspMethods Class — netty Architecture

Architecture documentation for the RtspMethods class in RtspMethods.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  72131760_f9df_dbee_84e1_e80f476f98c9["RtspMethods"]
  5f65213e_b8bc_840c_b258_4c7b635195ab["RtspMethods.java"]
  72131760_f9df_dbee_84e1_e80f476f98c9 -->|defined in| 5f65213e_b8bc_840c_b258_4c7b635195ab
  c5e797c3_8e3e_c27c_91de_804e9ed0a1ad["HttpMethod()"]
  72131760_f9df_dbee_84e1_e80f476f98c9 -->|method| c5e797c3_8e3e_c27c_91de_804e9ed0a1ad
  e8c3dc06_aef9_98d8_38ab_7e7ec6425d9a["RtspMethods()"]
  72131760_f9df_dbee_84e1_e80f476f98c9 -->|method| e8c3dc06_aef9_98d8_38ab_7e7ec6425d9a

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/rtsp/RtspMethods.java lines 28–133

public final class RtspMethods {

    /**
     * The OPTIONS getMethod represents a request for information about the communication options
     * available on the request/response chain identified by the Request-URI. This getMethod allows
     * the client to determine the options and/or requirements associated with a resource, or the
     * capabilities of a server, without implying a resource action or initiating a resource
     * retrieval.
     */
    public static final HttpMethod OPTIONS = HttpMethod.OPTIONS;

    /**
     * The DESCRIBE getMethod retrieves the description of a presentation or
     * media object identified by the request URL from a server.
     */
    public static final HttpMethod DESCRIBE = HttpMethod.valueOf("DESCRIBE");

    /**
     * The ANNOUNCE posts the description of a presentation or media object
     * identified by the request URL to a server, or updates the client-side
     * session description in real-time.
     */
    public static final HttpMethod ANNOUNCE = HttpMethod.valueOf("ANNOUNCE");

    /**
     * The SETUP request for a URI specifies the transport mechanism to be
     * used for the streamed media.
     */
    public static final HttpMethod SETUP = HttpMethod.valueOf("SETUP");

    /**
     * The PLAY getMethod tells the server to start sending data via the
     * mechanism specified in SETUP.
     */
    public static final HttpMethod PLAY = HttpMethod.valueOf("PLAY");

    /**
     * The PAUSE request causes the stream delivery to be interrupted
     * (halted) temporarily.
     */
    public static final HttpMethod PAUSE = HttpMethod.valueOf("PAUSE");

    /**
     * The TEARDOWN request stops the stream delivery for the given URI,
     * freeing the resources associated with it.
     */
    public static final HttpMethod TEARDOWN = HttpMethod.valueOf("TEARDOWN");

    /**
     * The GET_PARAMETER request retrieves the value of a parameter of a
     * presentation or stream specified in the URI.
     */
    public static final HttpMethod GET_PARAMETER = HttpMethod.valueOf("GET_PARAMETER");

    /**
     * The SET_PARAMETER requests to set the value of a parameter for a
     * presentation or stream specified by the URI.
     */
    public static final HttpMethod SET_PARAMETER = HttpMethod.valueOf("SET_PARAMETER");

    /**
     * The REDIRECT request informs the client that it must connect to another
     * server location.
     */
    public static final HttpMethod REDIRECT = HttpMethod.valueOf("REDIRECT");

    /**
     * The RECORD getMethod initiates recording a range of media data according to
     * the presentation description.
     */
    public static final HttpMethod RECORD = HttpMethod.valueOf("RECORD");

    private static final Map<String, HttpMethod> methodMap = new HashMap<String, HttpMethod>();

    static {
        methodMap.put(DESCRIBE.toString(), DESCRIBE);
        methodMap.put(ANNOUNCE.toString(), ANNOUNCE);
        methodMap.put(GET_PARAMETER.toString(), GET_PARAMETER);
        methodMap.put(OPTIONS.toString(), OPTIONS);
        methodMap.put(PAUSE.toString(), PAUSE);
        methodMap.put(PLAY.toString(), PLAY);

Frequently Asked Questions

What is the RtspMethods class?
RtspMethods is a class in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/rtsp/RtspMethods.java.
Where is RtspMethods defined?
RtspMethods is defined in codec-http/src/main/java/io/netty/handler/codec/rtsp/RtspMethods.java at line 28.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free