Package io.netty.handler.codec.rtsp
Class RtspMethods
- java.lang.Object
-
- io.netty.handler.codec.rtsp.RtspMethods
-
public final class RtspMethods extends java.lang.ObjectThe request getMethod of RTSP.
-
-
Field Summary
Fields Modifier and Type Field Description static HttpMethodANNOUNCEThe 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.static HttpMethodDESCRIBEThe DESCRIBE getMethod retrieves the description of a presentation or media object identified by the request URL from a server.static HttpMethodGET_PARAMETERThe GET_PARAMETER request retrieves the value of a parameter of a presentation or stream specified in the URI.static HttpMethodOPTIONSThe OPTIONS getMethod represents a request for information about the communication options available on the request/response chain identified by the Request-URI.static HttpMethodPAUSEThe PAUSE request causes the stream delivery to be interrupted (halted) temporarily.static HttpMethodPLAYThe PLAY getMethod tells the server to start sending data via the mechanism specified in SETUP.static HttpMethodRECORDThe RECORD getMethod initiates recording a range of media data according to the presentation description.static HttpMethodREDIRECTThe REDIRECT request informs the client that it must connect to another server location.static HttpMethodSET_PARAMETERThe SET_PARAMETER requests to set the value of a parameter for a presentation or stream specified by the URI.static HttpMethodSETUPThe SETUP request for a URI specifies the transport mechanism to be used for the streamed media.static HttpMethodTEARDOWNThe TEARDOWN request stops the stream delivery for the given URI, freeing the resources associated with it.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpMethodvalueOf(java.lang.String name)Returns theHttpMethodrepresented by the specified name.
-
-
-
Field Detail
-
OPTIONS
public static final HttpMethod OPTIONS
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.
-
DESCRIBE
public static final HttpMethod DESCRIBE
The DESCRIBE getMethod retrieves the description of a presentation or media object identified by the request URL from a server.
-
ANNOUNCE
public static final HttpMethod ANNOUNCE
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.
-
SETUP
public static final HttpMethod SETUP
The SETUP request for a URI specifies the transport mechanism to be used for the streamed media.
-
PLAY
public static final HttpMethod PLAY
The PLAY getMethod tells the server to start sending data via the mechanism specified in SETUP.
-
PAUSE
public static final HttpMethod PAUSE
The PAUSE request causes the stream delivery to be interrupted (halted) temporarily.
-
TEARDOWN
public static final HttpMethod TEARDOWN
The TEARDOWN request stops the stream delivery for the given URI, freeing the resources associated with it.
-
GET_PARAMETER
public static final HttpMethod GET_PARAMETER
The GET_PARAMETER request retrieves the value of a parameter of a presentation or stream specified in the URI.
-
SET_PARAMETER
public static final HttpMethod SET_PARAMETER
The SET_PARAMETER requests to set the value of a parameter for a presentation or stream specified by the URI.
-
REDIRECT
public static final HttpMethod REDIRECT
The REDIRECT request informs the client that it must connect to another server location.
-
RECORD
public static final HttpMethod RECORD
The RECORD getMethod initiates recording a range of media data according to the presentation description.
-
-
Method Detail
-
valueOf
public static HttpMethod valueOf(java.lang.String name)
Returns theHttpMethodrepresented by the specified name. If the specified name is a standard RTSP getMethod name, a cached instance will be returned. Otherwise, a new instance will be returned.
-
-