|
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(java.net.URI uri)
Constructs a request for the default service, WMS, and a specified server. |
protected |
Request(java.net.URI uri,
java.lang.String service)
Constructs a request for a specified service at a specified server. |
| Method Summary | |
|---|---|
java.lang.String |
getParam(java.lang.String key)
|
java.lang.String |
getRequestName()
|
java.lang.String |
getService()
|
java.net.URI |
getUri()
|
java.lang.String |
getVersion()
|
protected void |
initialize(java.lang.String service)
|
void |
setParam(java.lang.String key,
java.lang.String value)
|
void |
setService(java.lang.String service)
|
protected void |
setUri(java.net.URI uri)
|
void |
setVersion(java.lang.String version)
|
java.lang.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 java.net.URISyntaxException
sourceRequest - the request to copy.
java.lang.IllegalArgumentException - if copy source is null.
java.net.URISyntaxException - if the web service address is not a valid URI.
protected Request(java.net.URI uri)
throws java.net.URISyntaxException
uri - the address of the web service. May be null when this constructor invoked by subclasses.
java.net.URISyntaxException - if the web service address is not a valid URI.
protected Request(java.net.URI uri,
java.lang.String service)
throws java.net.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.
java.net.URISyntaxException - if the web service address is not a valid URI.| Method Detail |
|---|
public java.lang.String getParam(java.lang.String key)
public java.lang.String getRequestName()
public java.lang.String getService()
public java.net.URI getUri()
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic java.lang.String getVersion()
protected void initialize(java.lang.String service)
public void setParam(java.lang.String key,
java.lang.String value)
public void setService(java.lang.String service)
protected void setUri(java.net.URI uri)
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic void setVersion(java.lang.String version)
public java.lang.String toString()
toString in class java.lang.Object
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||