issrg.utils.webdav
Class PUT

java.lang.Object
  extended by issrg.utils.webdav.HTTPMessage
      extended by 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

Field Summary
 
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)
           
 
Method Summary
 
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
 

Constructor Detail

PUT

public PUT(WebDAVSocket socket,
           java.lang.String server,
           int port,
           java.lang.String URI,
           java.lang.String entityBody)
Parameters:
socket - inherited from HTTPMessage
server - inherited from HTTPMessage
port - inherited from HTTPMessage
URI - inherited from HTTPMessage, in this case should specify the location where you want to store the entity
contentLength - the length of the entity
entityBody - 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