/** @see IServer#unlock(ILocator, IContext) */ public IResponse unlock(ILocator locator, IContext userContext) throws IOException { Assert.isNotNull(locator); Assert.isNotNull(userContext); IContext context = newContext(userContext, locator); Request request = newRequest(locator, context, "UNLOCK"); // $NON-NLS-1$ return httpClient.invoke(request); }
/** @see IServer#checkout(ILocator, IContext, Document) */ public IResponse checkout(ILocator locator, IContext userContext, Document body) throws IOException { Assert.isNotNull(locator); Assert.isNotNull(userContext); IContext context = newContext(userContext, locator); Request request = newRequest(locator, context, body, "CHECKOUT"); // $NON-NLS-1$ return httpClient.invoke(request); }
/** @see IServer#baselineControl(ILocator, IContext, Document) */ public IResponse baselineControl(ILocator locator, IContext userContext, Document document) throws IOException { Assert.isNotNull(locator); Assert.isNotNull(userContext); IContext context = newContext(userContext, locator); Request request = newRequest(locator, context, document, "BASELINE-CONTROL"); // $NON-NLS-1$ return httpClient.invoke(request); }
/** @see IServer#versionControl(ILocator, IContext, Document) */ public IResponse versionControl(ILocator locator, IContext userContext, Document body) throws IOException { Assert.isNotNull(locator); Assert.isNotNull(userContext); IContext context = newContext(userContext, locator); Request request = newRequest(locator, context, body, "VERSION-CONTROL"); // $NON-NLS-1$ return httpClient.invoke(request); }
/** @see IServer#put(ILocator, IContext, InputStream) */ public IResponse put(ILocator locator, IContext userContext, InputStream is) throws IOException { Assert.isNotNull(locator); Assert.isNotNull(userContext); Assert.isNotNull(is); IContext context = newContext(userContext, locator); Request request = newRequest(locator, context, is, "PUT"); // $NON-NLS-1$ return httpClient.invoke(request); }
/** @see IServer#propfind(ILocator, IContext, Document) */ public IResponse propfind(ILocator locator, IContext userContext, Document document) throws IOException { Assert.isNotNull(locator); Assert.isNotNull(userContext); IContext context = newContext(userContext, locator); Request request = newRequest(locator, context, document, "PROPFIND"); // $NON-NLS-1$ return httpClient.invoke(request); }
/** @see IServer#mkworkspace(ILocator, IContext, Document) */ public IResponse mkworkspace(ILocator locator, IContext userContext, Document document) throws IOException { Assert.isNotNull(locator); Assert.isNotNull(userContext); IContext context = newContext(userContext, locator); Request request = newRequest(locator, context, document, "MKWORKSPACE"); // $NON-NLS-1$ return httpClient.invoke(request); }
/** @see IServer#bind(ILocator, ILocator, IContext) */ public IResponse bind(ILocator source, ILocator destination, IContext userContext) throws IOException { Assert.isNotNull(source); Assert.isNotNull(destination); Assert.isNotNull(userContext); IContext context = newContext(userContext, source); context.setDestination(URLEncoder.encode(destination.getResourceURL())); Request request = newRequest(source, context, "BIND"); // $NON-NLS-1$ return httpClient.invoke(request); }