:: com :: sun :: star :: ucb ::

interface XWebDAVCommandEnvironment
Description
A command environment that can be used to deal with WebDAV/HTTP specific commands.

Supply an implementation of this interface together with an XCommandEnvironment implementation, when executing a command using XCommandProcessor.


Methods' Summary
getUserRequestHeaders This method gets called while assembling an WebDAV/HTTP request. The returned headername-headervalue pairs will be appended to the list of request headers before the request is dispatched.  
Methods' Details
getUserRequestHeaders
sequence< ::com::sun::star::beans::NamedValue >
getUserRequestHeaders( [in] string  aURI,
[in] string  aMethod );

Description
This method gets called while assembling an WebDAV/HTTP request. The returned headername-headervalue pairs will be appended to the list of request headers before the request is dispatched.
Parameter aURI
The request URI.
Parameter aMethod
The WebDAV/HTTP method ("GET","PUT","MKCOL",...).
Returns
A sequence of header name, header value pairs. The header names must be the plain names and contain no trailing ":". The header value must be an Any containing a string.
Top of Page