org.geotools.data.ows
Class OperationType
java.lang.Object
org.geotools.data.ows.OperationType
- Direct Known Subclasses:
- WMSOperationType
public class OperationType
- extends java.lang.Object
Represents an operation used by Open Web Services for requests and responses.
- Author:
- rgould
Field Summary |
protected java.util.List<java.lang.String> |
formats
|
protected java.net.URL |
get
|
protected java.net.URL |
post
|
Method Summary |
java.util.List<java.lang.String> |
getFormats()
Each format is usually a MIME type string that can be used to indicate
what format the server's response should be in. |
java.net.URL |
getGet()
|
java.net.URL |
getPost()
|
void |
setFormats(java.util.List<java.lang.String> formats)
|
void |
setGet(java.net.URL get)
|
void |
setPost(java.net.URL post)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
formats
protected java.util.List<java.lang.String> formats
get
protected java.net.URL get
post
protected java.net.URL post
OperationType
public OperationType()
getFormats
public java.util.List<java.lang.String> getFormats()
- Each format is usually a MIME type string that can be used to indicate
what format the server's response should be in.
- Returns:
- a List of Strings, each of which usually represent a mime type
setFormats
public void setFormats(java.util.List<java.lang.String> formats)
getGet
public java.net.URL getGet()
- Returns:
- the URL where a GET request should be made
setGet
public void setGet(java.net.URL get)
getPost
public java.net.URL getPost()
- Returns:
- the URL where a POST request should be made
setPost
public void setPost(java.net.URL post)
Copyright © 1996-2010 Geotools. All Rights Reserved.