/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
package io.netty.handler.codec.rtsp;
import io.netty.handler.codec.http.HttpHeaders;
Deprecated: Use RtspHeaderNames
or RtspHeaderValues
instead. Standard RTSP header names and values.
/**
* @deprecated Use {@link RtspHeaderNames} or {@link RtspHeaderValues} instead.
* Standard RTSP header names and values.
*/
@Deprecated
@SuppressWarnings("deprecation")
public final class RtspHeaders {
Deprecated: Use RtspHeaderNames
instead. Standard RTSP header names.
/**
* @deprecated Use {@link RtspHeaderNames} instead.
*
* Standard RTSP header names.
*/
@Deprecated
public static final class Names {
"Accept"
/**
* {@code "Accept"}
*/
public static final String ACCEPT = HttpHeaders.Names.ACCEPT;
"Accept-Encoding"
/**
* {@code "Accept-Encoding"}
*/
public static final String ACCEPT_ENCODING = HttpHeaders.Names.ACCEPT_ENCODING;
"Accept-Language"
/**
* {@code "Accept-Language"}
*/
public static final String ACCEPT_LANGUAGE = HttpHeaders.Names.ACCEPT_LANGUAGE;
"Allow"
/**
* {@code "Allow"}
*/
public static final String ALLOW = "Allow";
"Authorization"
/**
* {@code "Authorization"}
*/
public static final String AUTHORIZATION = HttpHeaders.Names.AUTHORIZATION;
"Bandwidth"
/**
* {@code "Bandwidth"}
*/
public static final String BANDWIDTH = "Bandwidth";
"Blocksize"
/**
* {@code "Blocksize"}
*/
public static final String BLOCKSIZE = "Blocksize";
"Cache-Control"
/**
* {@code "Cache-Control"}
*/
public static final String CACHE_CONTROL = HttpHeaders.Names.CACHE_CONTROL;
"Conference"
/**
* {@code "Conference"}
*/
public static final String CONFERENCE = "Conference";
"Connection"
/**
* {@code "Connection"}
*/
public static final String CONNECTION = HttpHeaders.Names.CONNECTION;
"Content-Base"
/**
* {@code "Content-Base"}
*/
public static final String CONTENT_BASE = HttpHeaders.Names.CONTENT_BASE;
"Content-Encoding"
/**
* {@code "Content-Encoding"}
*/
public static final String CONTENT_ENCODING = HttpHeaders.Names.CONTENT_ENCODING;
"Content-Language"
/**
* {@code "Content-Language"}
*/
public static final String CONTENT_LANGUAGE = HttpHeaders.Names.CONTENT_LANGUAGE;
"Content-Length"
/**
* {@code "Content-Length"}
*/
public static final String CONTENT_LENGTH = HttpHeaders.Names.CONTENT_LENGTH;
"Content-Location"
/**
* {@code "Content-Location"}
*/
public static final String CONTENT_LOCATION = HttpHeaders.Names.CONTENT_LOCATION;
"Content-Type"
/**
* {@code "Content-Type"}
*/
public static final String CONTENT_TYPE = HttpHeaders.Names.CONTENT_TYPE;
"CSeq"
/**
* {@code "CSeq"}
*/
public static final String CSEQ = "CSeq";
"Date"
/**
* {@code "Date"}
*/
public static final String DATE = HttpHeaders.Names.DATE;
"Expires"
/**
* {@code "Expires"}
*/
public static final String EXPIRES = HttpHeaders.Names.EXPIRES;
"From"
/**
* {@code "From"}
*/
public static final String FROM = HttpHeaders.Names.FROM;
"Host"
/**
* {@code "Host"}
*/
public static final String HOST = HttpHeaders.Names.HOST;
"If-Match"
/**
* {@code "If-Match"}
*/
public static final String IF_MATCH = HttpHeaders.Names.IF_MATCH;
"If-Modified-Since"
/**
* {@code "If-Modified-Since"}
*/
public static final String IF_MODIFIED_SINCE = HttpHeaders.Names.IF_MODIFIED_SINCE;
"KeyMgmt"
/**
* {@code "KeyMgmt"}
*/
public static final String KEYMGMT = "KeyMgmt";
"Last-Modified"
/**
* {@code "Last-Modified"}
*/
public static final String LAST_MODIFIED = HttpHeaders.Names.LAST_MODIFIED;
"Proxy-Authenticate"
/**
* {@code "Proxy-Authenticate"}
*/
public static final String PROXY_AUTHENTICATE = HttpHeaders.Names.PROXY_AUTHENTICATE;
"Proxy-Require"
/**
* {@code "Proxy-Require"}
*/
public static final String PROXY_REQUIRE = "Proxy-Require";
"Public"
/**
* {@code "Public"}
*/
public static final String PUBLIC = "Public";
"Range"
/**
* {@code "Range"}
*/
public static final String RANGE = HttpHeaders.Names.RANGE;
"Referer"
/**
* {@code "Referer"}
*/
public static final String REFERER = HttpHeaders.Names.REFERER;
"Require"
/**
* {@code "Require"}
*/
public static final String REQUIRE = "Require";
"Retry-After"
/**
* {@code "Retry-After"}
*/
public static final String RETRT_AFTER = HttpHeaders.Names.RETRY_AFTER;
"RTP-Info"
/**
* {@code "RTP-Info"}
*/
public static final String RTP_INFO = "RTP-Info";
"Scale"
/**
* {@code "Scale"}
*/
public static final String SCALE = "Scale";
"Session"
/**
* {@code "Session"}
*/
public static final String SESSION = "Session";
"Server"
/**
* {@code "Server"}
*/
public static final String SERVER = HttpHeaders.Names.SERVER;
"Speed"
/**
* {@code "Speed"}
*/
public static final String SPEED = "Speed";
"Timestamp"
/**
* {@code "Timestamp"}
*/
public static final String TIMESTAMP = "Timestamp";
"Transport"
/**
* {@code "Transport"}
*/
public static final String TRANSPORT = "Transport";
"Unsupported"
/**
* {@code "Unsupported"}
*/
public static final String UNSUPPORTED = "Unsupported";
"User-Agent"
/**
* {@code "User-Agent"}
*/
public static final String USER_AGENT = HttpHeaders.Names.USER_AGENT;
"Vary"
/**
* {@code "Vary"}
*/
public static final String VARY = HttpHeaders.Names.VARY;
"Via"
/**
* {@code "Via"}
*/
public static final String VIA = HttpHeaders.Names.VIA;
"WWW-Authenticate"
/**
* {@code "WWW-Authenticate"}
*/
public static final String WWW_AUTHENTICATE = HttpHeaders.Names.WWW_AUTHENTICATE;
private Names() {
}
}
Deprecated: Use RtspHeaderValues
instead. Standard RTSP header values.
/**
* @deprecated Use {@link RtspHeaderValues} instead.
*
* Standard RTSP header values.
*/
@Deprecated
public static final class Values {
"append"
/**
* {@code "append"}
*/
public static final String APPEND = "append";
"AVP"
/**
* {@code "AVP"}
*/
public static final String AVP = "AVP";
"bytes"
/**
* {@code "bytes"}
*/
public static final String BYTES = HttpHeaders.Values.BYTES;
"charset"
/**
* {@code "charset"}
*/
public static final String CHARSET = HttpHeaders.Values.CHARSET;
"client_port"
/**
* {@code "client_port"}
*/
public static final String CLIENT_PORT = "client_port";
"clock"
/**
* {@code "clock"}
*/
public static final String CLOCK = "clock";
"close"
/**
* {@code "close"}
*/
public static final String CLOSE = HttpHeaders.Values.CLOSE;
"compress"
/**
* {@code "compress"}
*/
public static final String COMPRESS = HttpHeaders.Values.COMPRESS;
"100-continue"
/**
* {@code "100-continue"}
*/
public static final String CONTINUE = HttpHeaders.Values.CONTINUE;
"deflate"
/**
* {@code "deflate"}
*/
public static final String DEFLATE = HttpHeaders.Values.DEFLATE;
"destination"
/**
* {@code "destination"}
*/
public static final String DESTINATION = "destination";
"gzip"
/**
* {@code "gzip"}
*/
public static final String GZIP = HttpHeaders.Values.GZIP;
"identity"
/**
* {@code "identity"}
*/
public static final String IDENTITY = HttpHeaders.Values.IDENTITY;
"interleaved"
/**
* {@code "interleaved"}
*/
public static final String INTERLEAVED = "interleaved";
"keep-alive"
/**
* {@code "keep-alive"}
*/
public static final String KEEP_ALIVE = HttpHeaders.Values.KEEP_ALIVE;
"layers"
/**
* {@code "layers"}
*/
public static final String LAYERS = "layers";
"max-age"
/**
* {@code "max-age"}
*/
public static final String MAX_AGE = HttpHeaders.Values.MAX_AGE;
"max-stale"
/**
* {@code "max-stale"}
*/
public static final String MAX_STALE = HttpHeaders.Values.MAX_STALE;
"min-fresh"
/**
* {@code "min-fresh"}
*/
public static final String MIN_FRESH = HttpHeaders.Values.MIN_FRESH;
"mode"
/**
* {@code "mode"}
*/
public static final String MODE = "mode";
"multicast"
/**
* {@code "multicast"}
*/
public static final String MULTICAST = "multicast";
"must-revalidate"
/**
* {@code "must-revalidate"}
*/
public static final String MUST_REVALIDATE = HttpHeaders.Values.MUST_REVALIDATE;
"none"
/**
* {@code "none"}
*/
public static final String NONE = HttpHeaders.Values.NONE;
"no-cache"
/**
* {@code "no-cache"}
*/
public static final String NO_CACHE = HttpHeaders.Values.NO_CACHE;
"no-transform"
/**
* {@code "no-transform"}
*/
public static final String NO_TRANSFORM = HttpHeaders.Values.NO_TRANSFORM;
"only-if-cached"
/**
* {@code "only-if-cached"}
*/
public static final String ONLY_IF_CACHED = HttpHeaders.Values.ONLY_IF_CACHED;
"port"
/**
* {@code "port"}
*/
public static final String PORT = "port";
"private"
/**
* {@code "private"}
*/
public static final String PRIVATE = HttpHeaders.Values.PRIVATE;
"proxy-revalidate"
/**
* {@code "proxy-revalidate"}
*/
public static final String PROXY_REVALIDATE = HttpHeaders.Values.PROXY_REVALIDATE;
"public"
/**
* {@code "public"}
*/
public static final String PUBLIC = HttpHeaders.Values.PUBLIC;
"RTP"
/**
* {@code "RTP"}
*/
public static final String RTP = "RTP";
"rtptime"
/**
* {@code "rtptime"}
*/
public static final String RTPTIME = "rtptime";
"seq"
/**
* {@code "seq"}
*/
public static final String SEQ = "seq";
"server_port"
/**
* {@code "server_port"}
*/
public static final String SERVER_PORT = "server_port";
"ssrc"
/**
* {@code "ssrc"}
*/
public static final String SSRC = "ssrc";
"TCP"
/**
* {@code "TCP"}
*/
public static final String TCP = "TCP";
"time"
/**
* {@code "time"}
*/
public static final String TIME = "time";
"timeout"
/**
* {@code "timeout"}
*/
public static final String TIMEOUT = "timeout";
"ttl"
/**
* {@code "ttl"}
*/
public static final String TTL = "ttl";
"UDP"
/**
* {@code "UDP"}
*/
public static final String UDP = "UDP";
"unicast"
/**
* {@code "unicast"}
*/
public static final String UNICAST = "unicast";
"url"
/**
* {@code "url"}
*/
public static final String URL = "url";
private Values() { }
}
private RtspHeaders() { }
}