drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java
public boolean canTalkDAV() throws DAVException {
        IResponse response = null;
        try {
            // Send an options request.
            response = davClient.options(locator, newContext());
            examineResponse(response);

            // Check for at least DAV level 1.
            String davHeader = response.getContext().getDAV();
            return !((davHeader == null) || (davHeader.indexOf("1") == -1)); //$NON-NLS-1$
        } catch (IOException exception) {
            throw new SystemException(exception);
        } finally {
            closeResponse(response);
        }
    }
public boolean canTalkDAV() throws DAVException {
        IResponse response = null;
        try {
            // Send an options request.
            response = davClient.options(locator, newContext());
            examineResponse(response);

            // Check for at least DAV level 1.
            String davHeader = response.getContext().getDAV();
            return !((davHeader == null) || (davHeader.indexOf("1") == -1)); //$NON-NLS-1$
        } catch (IOException exception) {
            throw new SystemException(exception);
        } finally {
            closeResponse(response);
        }
    }
Return a boolean value indicating whether or not the server for this resource
is DAV compliant.

@return boolean <code>true</code> if the server can respond to DAV
requests, or <code>false</code> otherwise.
@exception DAVException if there was a problem checking for DAV compliance