org.n52.oxf.ows.capabilities
Class DCP
java.lang.Object
org.n52.oxf.ows.capabilities.DCP
public class DCP
- extends Object
Container for the different RequestMethods. Currently only HTTP POST and GET supported.
- Author:
- Theodor Foerster, Arne Broering
DCP
public DCP(GetRequestMethod httpGet,
PostRequestMethod httpPost)
- Parameters:
httpGet
- httpPost
-
DCP
public DCP(List<RequestMethod> methods)
- Parameters:
methods
-
toXML
public String toXML()
- Returns:
- a XML representation of this DCP.
getHTTPGetRequestMethods
public List<GetRequestMethod> getHTTPGetRequestMethods()
- Returns:
- Returns a list of all HTTPGetRequestMethods.
addHTTPGet
protected void addHTTPGet(GetRequestMethod getMethod)
- Parameters:
get
- The hTTPGet to set.
getHTTPPostRequestMethods
public List<PostRequestMethod> getHTTPPostRequestMethods()
- Returns:
- Returns a list of all HTTPPostRequestMethods.
addHTTPPost
protected void addHTTPPost(PostRequestMethod postMethod)
- Parameters:
post
- The hTTPPost to set.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012-2013 52north.org. All Rights Reserved.