Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Log
      • Resource
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Collection
      • Resource
    • Identity
      • Constants
      • Resource
    • Image
      • Enum
      • Resource
        • JsonPatch
        • Schema
    • LoadBalancer
      • Enum
      • Resource
    • ObjectStore
      • Constants
      • Exception
      • Resource
      • Upload
    • Orchestration
    • Queues
      • Exception
      • Resource
    • Volume
      • Resource
  • PHP

Classes

  • Datetime
  • Header
  • Mime
  • Service
  • Size
  • State
  • Overview
  • Namespace
  • Class
  • Tree
  • Download
 1: <?php
 2: /**
 3:  * Copyright 2012-2014 Rackspace US, Inc.
 4:  *
 5:  * Licensed under the Apache License, Version 2.0 (the "License");
 6:  * you may not use this file except in compliance with the License.
 7:  * You may obtain a copy of the License at
 8:  *
 9:  * http://www.apache.org/licenses/LICENSE-2.0
10:  *
11:  * Unless required by applicable law or agreed to in writing, software
12:  * distributed under the License is distributed on an "AS IS" BASIS,
13:  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14:  * See the License for the specific language governing permissions and
15:  * limitations under the License.
16:  */
17: 
18: namespace OpenCloud\Common\Constants;
19: 
20: /**
21:  * Standard Header Field names as defined in RFC2616.
22:  *
23:  * @link    http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
24:  * @package OpenCloud\Common\Constants
25:  */
26: class Header
27: {
28:     const ACCEPT = 'Accept';
29:     const ACCEPT_CHARSET = 'Accept-Charset';
30:     const ACCEPT_ENCODING = 'Accept-Encoding';
31:     const ACCEPT_LANGUAGE = 'Accept-Language';
32:     const ACCEPT_RANGES = 'Accept-Ranges';
33:     const AGE = 'Age';
34:     const ALLOW = 'Allow';
35:     const AUTHORIZATION = 'Authorization';
36:     const CACHE_CONTROL = 'Cache-Control';
37:     const CONNECTION = 'Connection';
38:     const CONTENT_ENCODING = 'Content-Encoding';
39:     const CONTENT_LANGUAGE = 'Content-Language';
40:     const CONTENT_LENGTH = 'Content-Length';
41:     const CONTENT_LOCATION = 'Content-Location';
42:     const CONTENT_MD5 = 'Content-MD5';
43:     const CONTENT_RANGE = 'Content-Range';
44:     const CONTENT_TYPE = 'Content-Type';
45:     const DATE = 'Date';
46:     const ETAG = 'ETag';
47:     const EXPECT = 'Expect';
48:     const EXPIRES = 'Expires';
49:     const FROM = 'From';
50:     const HOST = 'Host';
51:     const IF_MATCH = 'If-Match';
52:     const IF_MODIFIED_SINCE = 'If-Modified-Since';
53:     const IF_NONE_MATCH = 'If-None-Match';
54:     const IF_RANGE = 'If-Range';
55:     const IF_UNMODIFIED_SINCE = 'If-Unmodified-Since';
56:     const LAST_MODIFIED = 'Last-Modified';
57:     const LOCATION = 'Location';
58:     const MAX_FORWARDS = 'Max-Forwards';
59:     const PRAGMA = 'Pragma';
60:     const PROXY_AUTHENTICATION = 'Proxy-Authenticate';
61:     const PROXY_AUTHORIZATION = 'Proxy-Authorization';
62:     const RANGE = 'Range';
63:     const REFERER = 'Referer';
64:     const RETRY_AFTER = 'Retry-After';
65:     const SERVER = 'Server';
66:     const TE = 'TE';
67:     const TRAILER = 'Trailer';
68:     const TRANSFER_ENCODING = 'Transfer-Encoding';
69:     const UPGRADE = 'Upgrade';
70:     const USER_AGENT = 'User-Agent';
71:     const VARY = 'Vary';
72:     const VIA = 'Via';
73: }
74: 
PHP OpenCloud API API documentation generated by ApiGen 2.8.0