org.gvsig.remoteclient.taskplanning.retrieving
Class URLRequest

java.lang.Object
  extended by 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
           
 
Constructor Summary
URLRequest()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getFile()
           
 java.lang.String getFileName()
           
 java.lang.String getHost()
           
 int getPort()
           
 java.lang.String getProtocol()
           
 int getRequestType()
           
 java.net.URL getUrl()
           
 int hashCode()
           
 void setFile(java.lang.String page)
           
 void setFileName(java.lang.String fileName)
           
 void setHost(java.lang.String host)
           
 void setPort(int port)
           
 void setProtocol(java.lang.String protocol)
           
 void setRequestType(int requestType)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GET

public static final int GET
See Also:
Constant Field Values

HTTP

public static final java.lang.String HTTP
See Also:
Constant Field Values

POST

public static final int POST
See Also:
Constant Field Values
Constructor Detail

URLRequest

public URLRequest()
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getFile

public java.lang.String getFile()
Returns:
Returns the file.

getFileName

public java.lang.String getFileName()
Returns:
Returns the fileName.

getHost

public java.lang.String getHost()
Returns:
Returns the host.

getPort

public int getPort()
Returns:
Returns the port.

getProtocol

public java.lang.String getProtocol()
Returns:
Returns the protocol.

getRequestType

public int getRequestType()
Returns:
Returns the requestType.

getUrl

public java.net.URL getUrl()
                    throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

setFile

public void setFile(java.lang.String page)
Parameters:
page - The file to set.

setFileName

public void setFileName(java.lang.String fileName)
Parameters:
fileName - The fileName to set.

setHost

public void setHost(java.lang.String host)
Parameters:
host - The host to set.

setPort

public void setPort(int port)
Parameters:
port - The port to set.

setProtocol

public void setProtocol(java.lang.String protocol)
Parameters:
protocol - The protocol to set.

setRequestType

public void setRequestType(int requestType)
Parameters:
requestType - The requestType to set.


Copyright © 2014 gvSIG Association. All Rights Reserved.