org.apache.webdav.lib.methods
Class MkWorkspaceMethod
public class MkWorkspaceMethod
The MkWorkspace method is used to create a new workspace. New workspaces
can only be created in the workspace collection of the server. A workspace
can contain version controled resources and any other. Each resource
must identify its workspace.
It is not allowed to create a new workspace inside an exiting workspace.
Example Request
MKWORKSPACE /ws/myWs/ HTTP/1.1
Host: www.server.org
Example Response
HTTP/1.1 201 Created
String | getName()
|
void | parseResponse(InputStream input, HttpState state, HttpConnection conn)- Parse response.
|
convertElementToProperty, generateRequestBody, getDebug, getRequestContentLength, getResponseDocument, getResponseHashtable, getResponseURLs, getResponses, parseResponse, parseXMLResponse, readResponseBody, recycle, setDebug, setDecodeResponseHrefs, setDocument, setResponseHashtable, writeRequestBody |
MkWorkspaceMethod
public MkWorkspaceMethod()
Method constructor.
MkWorkspaceMethod
public MkWorkspaceMethod(String path)
Method constructor.
getName
public String getName()
parseResponse
public void parseResponse(InputStream input,
HttpState state,
HttpConnection conn)
throws IOException,
HttpException Parse response.
- parseResponse in interface XMLResponseMethodBase