1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22#ifndef __com_sun_star_ucb_WebDAVHTTPMethod_idl__
23#define __com_sun_star_ucb_WebDAVHTTPMethod_idl__
24
25module com { module sun { module star { module ucb {
26
27
28/** Standard WebDAV/HTTP methods.
29
30    @since OpenOffice 4.0
31*/
32enum WebDAVHTTPMethod
33{
34    /** HTTP request method as defined in
35        <a target="_blank" href="http://tools.ietf.org/html/rfc2616#section-9.3">RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1</a>
36     */
37    GET,
38
39    /** HTTP request method as defined in
40        <a target="_blank" href="http://tools.ietf.org/html/rfc2616#section-9.4">RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1</a>
41     */
42    HEAD,
43
44    /** HTTP request method as defined in
45        <a target="_blank" href="http://tools.ietf.org/html/rfc2616#section-9.5">RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1</a>
46     */
47    POST,
48
49    /** HTTP request method as defined in
50        <a target="_blank" href="http://tools.ietf.org/html/rfc2616#section-9.6">RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1</a>
51     */
52    PUT,
53
54    /** HTTP request method as defined in
55        <a target="_blank" href="http://tools.ietf.org/html/rfc2616#section-9.7">RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1</a>
56     */
57    DELETE,
58
59    /** HTTP request method as defined in
60        <a target="_blank" href="http://tools.ietf.org/html/rfc2616#section-9.8">RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1</a>
61     */
62    TRACE,
63
64    /** HTTP request method as defined in
65        <a target="_blank" href="http://tools.ietf.org/html/rfc2616#section-9.2">RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1</a>
66     */
67    OPTIONS,
68
69    /** HTTP request method as defined in
70        <a target="_blank" href="http://tools.ietf.org/html/rfc2616#section-9.9">RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1</a>
71     */
72    CONNECT,
73
74    /** HTTP request method as defined in
75        <a target="_blank" href="http://tools.ietf.org/html/rfc5789">RFC 5789: PATCH Method for HTTP</a>
76     */
77    PATCH,
78
79    /** WebDAV methods as defined in
80        <a target="_blank" href="http://tools.ietf.org/html/rfc4918#section-9.1">HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)</a>
81     */
82    PROPFIND,
83
84    /** WebDAV methods as defined in
85        <a target="_blank" href="http://tools.ietf.org/html/rfc4918#section-9.2">HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)</a>
86     */
87    PROPPATCH,
88
89    /** WebDAV methods as defined in
90        <a target="_blank" href="http://tools.ietf.org/html/rfc4918#section-9.3">HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)</a>
91     */
92    MKCOL,
93
94    /** WebDAV methods as defined in
95        <a target="_blank" href="http://tools.ietf.org/html/rfc4918#section-9.8">HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)</a>
96     */
97    COPY,
98
99    /** WebDAV methods as defined in
100        <a target="_blank" href="http://tools.ietf.org/html/rfc4918#section-9.9">HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)</a>
101     */
102    MOVE,
103
104    /** WebDAV methods as defined in
105        <a target="_blank" href="http://tools.ietf.org/html/rfc4918#section-9.10">HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)</a>
106     */
107    LOCK,
108
109    /** WebDAV methods as defined in
110        <a target="_blank" href="http://tools.ietf.org/html/rfc4918#section-9.11">HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)</a>
111     */
112    UNLOCK
113
114};
115
116}; }; }; };
117
118#endif
119