Class URLRequest
java.lang.Object
org.gvsig.remoteclient.taskplanning.retrieving.URLRequest
- Author:
- Luis W. Sevilla (sevilla_lui@gva.es)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFile()getHost()intgetPort()intgetUrl()inthashCode()voidvoidsetFileName(String fileName) voidvoidsetPort(int port) voidsetProtocol(String protocol) voidsetRequestType(int requestType)
-
Field Details
-
HTTP
- See Also:
-
GET
public static final int GET- See Also:
-
POST
public static final int POST- See Also:
-
-
Constructor Details
-
URLRequest
public URLRequest()
-
-
Method Details
-
getUrl
- Throws:
MalformedURLException
-
getFileName
- Returns:
- Returns the fileName.
-
setFileName
- Parameters:
fileName- The fileName to set.
-
getHost
- Returns:
- Returns the host.
-
setHost
- Parameters:
host- The host to set.
-
getFile
- Returns:
- Returns the file.
-
setFile
- Parameters:
page- The file to set.
-
getProtocol
- Returns:
- Returns the protocol.
-
setProtocol
- 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() -
equals
-