|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.wms.Request
public abstract class Request
This class provides a means to construct an OGC web service request, such as WMS GetMap or WFS GetCapabilities.
| Constructor Summary | |
|---|---|
protected |
Request()
Constructs a request for the default service, WMS. |
|
Request(Request sourceRequest)
Copy constructor. |
protected |
Request(URI uri)
Constructs a request for the default service, WMS, and a specified server. |
protected |
Request(URI uri,
String service)
Constructs a request for a specified service at a specified server. |
| Method Summary | |
|---|---|
String |
getParam(String key)
|
String |
getRequestName()
|
String |
getService()
|
URI |
getUri()
|
String |
getVersion()
|
protected void |
initialize(String service)
|
void |
setParam(String key,
String value)
|
void |
setService(String service)
|
protected void |
setUri(URI uri)
|
void |
setVersion(String version)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Request()
public Request(Request sourceRequest)
throws URISyntaxException
sourceRequest - the request to copy.
IllegalArgumentException - if copy source is null.
URISyntaxException - if the web service address is not a valid URI.
protected Request(URI uri)
throws URISyntaxException
uri - the address of the web service. May be null when this constructor invoked by subclasses.
URISyntaxException - if the web service address is not a valid URI.
protected Request(URI uri,
String service)
throws URISyntaxException
uri - the address of the web service. May be null.service - the service name. Common names are WMS, WFS, WCS, etc. May by null when this constructor is
invoked by subclasses.
URISyntaxException - if the web service address is not a valid URI.| Method Detail |
|---|
public String getParam(String key)
public String getRequestName()
public String getService()
public URI getUri()
throws URISyntaxException
URISyntaxExceptionpublic String getVersion()
protected void initialize(String service)
public void setParam(String key,
String value)
public void setService(String service)
protected void setUri(URI uri)
throws URISyntaxException
URISyntaxExceptionpublic void setVersion(String version)
public String toString()
toString in class Object
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||