public class URLRequest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
GET |
static java.lang.String |
HTTP |
static int |
POST |
| Constructor and Description |
|---|
URLRequest() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static final int GET
public static final java.lang.String HTTP
public static final int POST
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String getFile()
public java.lang.String getFileName()
public java.lang.String getHost()
public int getPort()
public java.lang.String getProtocol()
public int getRequestType()
public java.net.URL getUrl()
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic void setFile(java.lang.String page)
page - The file to set.public void setFileName(java.lang.String fileName)
fileName - The fileName to set.public void setHost(java.lang.String host)
host - The host to set.public void setPort(int port)
port - The port to set.public void setProtocol(java.lang.String protocol)
protocol - The protocol to set.public void setRequestType(int requestType)
requestType - The requestType to set.Copyright © 2023 gvSIG Association. All rights reserved.