org.apache.commons.httpclient.methods
Class UrlPutMethod

java.lang.Object
  |
  +--org.apache.commons.httpclient.HttpMethodBase
        |
        +--org.apache.commons.httpclient.methods.GetMethod
              |
              +--org.apache.commons.httpclient.methods.ExpectContinueMethod
                    |
                    +--org.apache.commons.httpclient.methods.EntityEnclosingMethod
                          |
                          +--org.apache.commons.httpclient.methods.PutMethod
                                |
                                +--org.apache.commons.httpclient.methods.UrlPutMethod
All Implemented Interfaces:
HttpMethod, HttpUrlMethod

Deprecated. use PutMethod

public class UrlPutMethod
extends PutMethod
implements HttpUrlMethod

HttpUrlMethod version of PutMethod.

Author:
Marc A. Saegesser, Mike Bowler

Fields inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod
CONTENT_LENGTH_AUTO, CONTENT_LENGTH_CHUNKED
 
Fields inherited from class org.apache.commons.httpclient.HttpMethodBase
USER_AGENT
 
Constructor Summary
UrlPutMethod()
          Deprecated. No-arg constructor.
UrlPutMethod(String url)
          Deprecated. Path-setting constructor.
 
Method Summary
 String getUrl()
          Deprecated. Returns this request's URL.
 void setUrl(String url)
          Deprecated. Sets the URL.
 
Methods inherited from class org.apache.commons.httpclient.methods.PutMethod
getName
 
Methods inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod
addContentLengthRequestHeader, clearRequestBody, generateRequestBody, getFollowRedirects, getRequestBody, getRequestBodyAsString, getRequestContentLength, hasRequestContent, recycle, setFollowRedirects, setRequestBody, setRequestBody, setRequestContentLength, writeRequestBody
 
Methods inherited from class org.apache.commons.httpclient.methods.ExpectContinueMethod
addRequestHeaders, getUseExpectHeader, setUseExpectHeader
 
Methods inherited from class org.apache.commons.httpclient.methods.GetMethod
getFileData, getTempDir, getTempFile, getUseDisk, readResponseBody, setFileData, setTempDir, setTempFile, setUseDisk
 
Methods inherited from class org.apache.commons.httpclient.HttpMethodBase
, addAuthorizationRequestHeader, addCookieRequestHeader, addHostRequestHeader, addProxyAuthorizationRequestHeader, addProxyConnectionHeader, addRequestHeader, addRequestHeader, addResponseFooter, addUserAgentRequestHeader, checkNotUsed, checkUsed, execute, fakeResponse, generateRequestLine, getAuthenticationRealm, getContentCharSet, getDoAuthentication, getHostConfiguration, getMethodRetryHandler, getPath, getProxyAuthenticationRealm, getQueryString, getRecoverableExceptionCount, getRequestCharSet, getRequestHeader, getRequestHeaderGroup, getRequestHeaders, getResponseBody, getResponseBodyAsStream, getResponseBodyAsString, getResponseCharSet, getResponseContentLength, getResponseFooter, getResponseFooters, getResponseHeader, getResponseHeaderGroup, getResponseHeaders, getResponseStream, getResponseTrailerHeaderGroup, getStatusCode, getStatusLine, getStatusText, getURI, hasBeenUsed, isConnectionCloseForced, isHttp11, isStrictMode, processResponseBody, processResponseHeaders, processStatusLine, readResponse, readResponseHeaders, readStatusLine, releaseConnection, removeRequestHeader, responseBodyConsumed, setConnectionCloseForced, setDoAuthentication, setHostConfiguration, setHttp11, setMethodRetryHandler, setPath, setQueryString, setQueryString, setRequestHeader, setRequestHeader, setResponseStream, setStrictMode, shouldCloseConnection, validate, writeRequest, writeRequestHeaders, writeRequestLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.httpclient.HttpMethod
addRequestHeader, addRequestHeader, addResponseFooter, execute, getDoAuthentication, getFollowRedirects, getHostConfiguration, getName, getPath, getQueryString, getRequestHeader, getRequestHeaders, getResponseBody, getResponseBodyAsStream, getResponseBodyAsString, getResponseFooter, getResponseFooters, getResponseHeader, getResponseHeaders, getStatusCode, getStatusLine, getStatusText, getURI, hasBeenUsed, isStrictMode, recycle, releaseConnection, removeRequestHeader, setDoAuthentication, setFollowRedirects, setPath, setQueryString, setQueryString, setRequestHeader, setRequestHeader, setStrictMode, validate
 

Constructor Detail

UrlPutMethod

public UrlPutMethod()
Deprecated. 
No-arg constructor.

UrlPutMethod

public UrlPutMethod(String url)
             throws MalformedURLException
Deprecated. 
Path-setting constructor.
Parameters:
url - the path of the request
Throws:
MalformedURLException - If the url isn't valid.
Method Detail

setUrl

public void setUrl(String url)
            throws MalformedURLException
Deprecated. 
Sets the URL. Calls the underlying HttpMethod.setPath() with the url's path. If the url contains a query string the underlying HttpMethod.setQueryString() is called.
Specified by:
setUrl in interface HttpUrlMethod
Parameters:
url - - the URL for this request.
Throws:
MalformedURLException - If the url isn't valid.

getUrl

public String getUrl()
Deprecated. 
Returns this request's URL.
Specified by:
getUrl in interface HttpUrlMethod
Returns:
the request's URL.


Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.