KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sslexplorer > vfs > webdav > DAVMethod


1 /* ========================================================================== *
2  * Copyright (C) 2004-2005 Pier Fumagalli <http://www.betaversion.org/~pier/> *
3  * All rights reserved. *
4  * ========================================================================== *
5  * *
6  * Licensed under the Apache License, Version 2.0 (the "License"). You may *
7  * not use this file except in compliance with the License. You may obtain a *
8  * copy of the License at <http://www.apache.org/licenses/LICENSE-2.0>. *
9  * *
10  * Unless required by applicable law or agreed to in writing, software *
11  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT *
12  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the *
13  * License for the specific language governing permissions and limitations *
14  * under the License. *
15  * *
16  * ========================================================================== */

17 package com.sslexplorer.vfs.webdav;
18
19 import java.io.IOException JavaDoc;
20
21 import com.sslexplorer.vfs.VFSResource;
22
23
24 /**
25  * <p>An interface describing the implementation of a
26  * <a HREF="http://www.rfc-editor.org/rfc/rfc2518.txt">WebDAV</a>
27  * method.</p>
28  *
29  * @author <a HREF="http://www.betaversion.org/~pier/">Pier Fumagalli</a>
30  */

31 public interface DAVMethod {
32
33     /**
34      * <p>Process the specified {@link DAVTransaction}.</p>
35      *
36      * @param transaction An object encapsulaing a WebDAV request/response.
37      * @param resource The {@link VFSResource} to process.
38      * @throws IOException If an I/O error occurred.
39      */

40     public void process(DAVTransaction transaction, VFSResource resource)
41     throws LockedException, IOException JavaDoc;
42
43 }
44
Popular Tags