|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Handler
The interface to be implemented by a WebDAV system. The implementation may use the request and response streams as decoded streams. The Content-Length, Content-Encoding and Transfer-Encoding headers must not be set when writing the response entity. All paths are in the same web context. This way the WebDAV back-end can be relocated.
Method Summary | |
---|---|
void |
acl(String path,
Context context)
|
void |
audit(Context context)
|
void |
bind(String path,
boolean overwrite,
Context context)
|
void |
checkin(String path,
Context context)
|
void |
checkout(String path,
Context context)
|
void |
collapse(String path,
boolean noVersionControl,
String depth,
Context context)
|
void |
copy(String path,
String destinationPath,
String depth,
boolean overwrite,
String label,
Context context)
The label may be null . |
void |
delete(String path,
Context context)
|
void |
destroy()
|
void |
get(String path,
String[] mimeTypes,
String label,
String compareWith,
Context context)
The mimeTypes parameter is sorted from most to least
preferred. |
long |
getLastModified(String path,
Context context)
|
String |
getLocalPath(String path)
|
String |
getView(String path)
|
void |
head(String path,
Context context)
|
void |
index(String path,
String depth,
boolean withPreview,
Context context)
|
void |
init(Context context,
Context backgroundContext)
|
void |
label(String path,
String depth,
String label,
Context context)
The label may be null . |
void |
lock(String path,
long timeout,
Context context)
|
void |
merge(String path,
String label,
Context context)
|
void |
mkactivity(String path,
Context context)
|
void |
mkcol(String path,
Context context)
|
void |
mkview(String path,
Context context)
|
void |
move(String path,
String destinationPath,
boolean overwrite,
Context context)
|
void |
options(String path,
Context context)
|
void |
propfind(String path,
String depth,
String label,
Context context)
The label may be null . |
void |
proppatch(String path,
Context context)
|
void |
put(String path,
String mimeType,
Context context)
|
void |
rebind(String path,
boolean overwrite,
Context context)
|
void |
report(String path,
String depth,
String label,
Context context)
|
void |
reportException(Throwable e)
|
void |
unbind(String path,
Context context)
|
void |
uncheckout(String path,
Context context)
|
void |
unlock(String path,
String lockToken,
Context context)
|
void |
versionControl(String path,
Context context)
|
Method Detail |
---|
void acl(String path, Context context) throws IOException
IOException
void audit(Context context) throws IOException
IOException
void bind(String path, boolean overwrite, Context context) throws IOException
IOException
void checkin(String path, Context context) throws IOException
IOException
void checkout(String path, Context context) throws IOException
IOException
void collapse(String path, boolean noVersionControl, String depth, Context context) throws IOException
IOException
void copy(String path, String destinationPath, String depth, boolean overwrite, String label, Context context) throws IOException
label
may be null
.
IOException
void delete(String path, Context context) throws IOException
IOException
void destroy()
void get(String path, String[] mimeTypes, String label, String compareWith, Context context) throws IOException
mimeTypes
parameter is sorted from most to least
preferred. The label
may be null
.
IOException
long getLastModified(String path, Context context) throws IOException
IOException
String getLocalPath(String path)
String getView(String path)
void head(String path, Context context) throws IOException
IOException
void index(String path, String depth, boolean withPreview, Context context) throws IOException
IOException
void init(Context context, Context backgroundContext) throws IOException
context
- the context for the immediate initialization.backgroundContext
- a context that a background thread can save.
IOException
void label(String path, String depth, String label, Context context) throws IOException
label
may be null
.
IOException
void lock(String path, long timeout, Context context) throws IOException
IOException
void merge(String path, String label, Context context) throws IOException
IOException
void mkactivity(String path, Context context) throws IOException
IOException
void mkcol(String path, Context context) throws IOException
IOException
void mkview(String path, Context context) throws IOException
IOException
void move(String path, String destinationPath, boolean overwrite, Context context) throws IOException
IOException
void options(String path, Context context) throws IOException
IOException
void propfind(String path, String depth, String label, Context context) throws IOException
label
may be null
.
IOException
void proppatch(String path, Context context) throws IOException
IOException
void put(String path, String mimeType, Context context) throws IOException
IOException
void rebind(String path, boolean overwrite, Context context) throws IOException
IOException
void report(String path, String depth, String label, Context context) throws IOException
IOException
void reportException(Throwable e)
void unbind(String path, Context context) throws IOException
IOException
void uncheckout(String path, Context context) throws IOException
IOException
void unlock(String path, String lockToken, Context context) throws IOException
IOException
void versionControl(String path, Context context) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |