issrg.utils.webdav
Class PUT
java.lang.Object
issrg.utils.webdav.HTTPMessage
issrg.utils.webdav.PUT
public class PUT
- extends HTTPMessage
The HTTP/1.1 PUT method requests that the enclosed entity be stored or
replace the resource at the specified location on the server.
- Version:
- 19/03/2007
- Author:
- Sean Antony
Fields inherited from class issrg.utils.webdav.HTTPMessage |
CRLF, EMPTY, FS, host, HTTPVersion, LF, method, padSP, port, socket, SP, URI |
Constructor Summary |
PUT(WebDAVSocket socket,
java.lang.String server,
int port,
java.lang.String URI,
byte[] entityBodyByte)
Use this constructor when you want to store the entity as binary |
PUT(WebDAVSocket socket,
java.lang.String server,
int port,
java.lang.String URI,
java.lang.String entityBody)
|
Methods inherited from class issrg.utils.webdav.HTTPMessage |
getRequestMessage, getRequestMessageByte, getResponseCode, getResponseContentLength, getResponseEntity, getResponseEntityByte, getResponseMessage, getResponseMessageByte, getResponseParagraph, getResponseTitle, isResponseSuccessful, transceive |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PUT
public PUT(WebDAVSocket socket,
java.lang.String server,
int port,
java.lang.String URI,
java.lang.String entityBody)
- Parameters:
socket
- inherited from HTTPMessageserver
- inherited from HTTPMessageport
- inherited from HTTPMessageURI
- inherited from HTTPMessage, in this case should specify the
location where you want to store the entitycontentLength
- the length of the entityentityBody
- the entity
PUT
public PUT(WebDAVSocket socket,
java.lang.String server,
int port,
java.lang.String URI,
byte[] entityBodyByte)
- Use this constructor when you want to store the entity as binary