diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-12-13 14:14:45 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-12-13 14:14:45 +0000 |
commit | c9d2623074b31cf1d304569b609318316bfd7f47 (patch) | |
tree | c5e3d5e7110a4bafa53f29f1f1bf6ff78fee16e1 /offapi/com/sun/star/ucb | |
parent | 981881047225a509b165fd6fb6fef4ab5a2a22a4 (diff) |
INTEGRATION: CWS updatefeed (1.1.2); FILE ADDED
2006/12/04 16:10:04 kso 1.1.2.1: #i72055# - new interface: XWebDAVCommandEnvironment
Diffstat (limited to 'offapi/com/sun/star/ucb')
-rw-r--r-- | offapi/com/sun/star/ucb/XWebDAVCommandEnvironment.idl | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/offapi/com/sun/star/ucb/XWebDAVCommandEnvironment.idl b/offapi/com/sun/star/ucb/XWebDAVCommandEnvironment.idl new file mode 100644 index 000000000..21e7e0d92 --- /dev/null +++ b/offapi/com/sun/star/ucb/XWebDAVCommandEnvironment.idl @@ -0,0 +1,85 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: XWebDAVCommandEnvironment.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: kz $ $Date: 2006-12-13 15:14:45 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ +#ifndef __com_sun_star_ucb_XWebDAVCommandEnvironment_idl__ +#define __com_sun_star_ucb_XWebDAVCommandEnvironment_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif +#ifndef __com_sun_star_beans_NamedValue_idl__ +#include <com/sun/star/beans/NamedValue.idl> +#endif + +//============================================================================= + +module com { module sun { module star { module ucb { + +//============================================================================= +/** A command environment that can be used to deal with WebDAV/HTTP specific + commands. + + <p>Supply an implementation of this interface together with an + <type>XCommandEnvironment</type> implementation, when executing a command + using <type>XCommandProcessor</type>. +*/ +/* published */ +interface XWebDAVCommandEnvironment : com::sun::star::uno::XInterface +{ + //------------------------------------------------------------------------- + /** 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. + + @param aURI + The request URI. + + @param aMethod + The WebDAV/HTTP method ("GET","PUT","MKCOL",...). + + @return + 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. + */ + sequence<com::sun::star::beans::NamedValue> getUserRequestHeaders( + [in] string aURI, + [in] string aMethod); +}; + +//============================================================================= + +}; }; }; }; + +#endif |