org.gvsig.remoteclient.taskplanning.retrieving
Class URLRequest
java.lang.Object
org.gvsig.remoteclient.taskplanning.retrieving.URLRequest
public class URLRequest
- extends java.lang.Object
- Author:
- Luis W. Sevilla (sevilla_lui@gva.es)
|
Field Summary |
static int |
GET
|
static java.lang.String |
HTTP
|
static int |
POST
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
HTTP
public static final java.lang.String HTTP
- See Also:
- Constant Field Values
GET
public static final int GET
- See Also:
- Constant Field Values
POST
public static final int POST
- See Also:
- Constant Field Values
URLRequest
public URLRequest()
getUrl
public java.net.URL getUrl()
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
getFileName
public java.lang.String getFileName()
- Returns:
- Returns the fileName.
setFileName
public void setFileName(java.lang.String fileName)
- Parameters:
fileName - The fileName to set.
getHost
public java.lang.String getHost()
- Returns:
- Returns the host.
setHost
public void setHost(java.lang.String host)
- Parameters:
host - The host to set.
getFile
public java.lang.String getFile()
- Returns:
- Returns the file.
setFile
public void setFile(java.lang.String page)
- Parameters:
page - The file to set.
getProtocol
public java.lang.String getProtocol()
- Returns:
- Returns the protocol.
setProtocol
public void setProtocol(java.lang.String protocol)
- Parameters:
protocol - The protocol to set.
getRequestType
public int getRequestType()
- Returns:
- Returns the requestType.
setRequestType
public void setRequestType(int requestType)
- Parameters:
requestType - The requestType to set.
getPort
public int getPort()
- Returns:
- Returns the port.
setPort
public void setPort(int port)
- Parameters:
port - The port to set.
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
Copyright © 2004-2013 gvSIG. All Rights Reserved.