Package com.luciad.ogc.ows.model
Class TLcdOWSHTTP
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.ows.model.TLcdOWSHTTP
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to theGet
element.static final TLcdDataProperty
Data property that maps to thePost
element. -
Constructor Summary
ConstructorDescriptionCreates a newTLcdOWSHTTP
instance.TLcdOWSHTTP
(TLcdDataType aType) Creates a newTLcdOWSHTTP
instance with the given data type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addGet
(TLcdOWSRequestMethod aGet) Adds a connect point URL prefix and any constraints for the HTTP "Get" request method.void
addPost
(TLcdOWSRequestMethod aPost) Adds a connect point URL for the HTTP "POST" request method.getGet()
Returns the value of the property that maps to theGet
element.getGet
(int aIndex) Gets the connect point URL for the HTTP "Get" request method at a given position.int
Gets the number of connect point URL's for the HTTP "Get" request method.getPost()
Returns the value of the property that maps to thePost
element.getPost
(int aIndex) Gets the connect point URL for the HTTP "POST" request method.int
Gets the number of connect points URL for the HTTP "POST" request method.void
removeGet
(int aIndex) Removes the connect point URL for the HTTP "Get" request method at a given position.void
removePost
(int aIndex) Removes the connect point URL for the HTTP "POST" request method at a given position.
-
Field Details
-
GET_PROPERTY
Data property that maps to theGet
element. The possible values for this property are instances ofList<TLcdOWSRequestMethod>
. -
POST_PROPERTY
Data property that maps to thePost
element. The possible values for this property are instances ofList<TLcdOWSRequestMethod>
.
-
-
Constructor Details
-
TLcdOWSHTTP
public TLcdOWSHTTP()Creates a newTLcdOWSHTTP
instance. -
TLcdOWSHTTP
Creates a newTLcdOWSHTTP
instance with the given data type.- Parameters:
aType
- The data type.
-
-
Method Details
-
addGet
Adds a connect point URL prefix and any constraints for the HTTP "Get" request method.- Parameters:
aGet
- the connect point URL prefix and any constraints for the HTTP "Get" request method.
-
getGetCount
public int getGetCount()Gets the number of connect point URL's for the HTTP "Get" request method.- Returns:
- the number of connect point URL's for the HTTP "Get" request method.
-
removeGet
public void removeGet(int aIndex) Removes the connect point URL for the HTTP "Get" request method at a given position.- Parameters:
aIndex
- the index of the given position.
-
getGet
Gets the connect point URL for the HTTP "Get" request method at a given position.- Parameters:
aIndex
- the index of the given position.- Returns:
- the connect point URL for the HTTP "Get" request method at the given position.
-
addPost
Adds a connect point URL for the HTTP "POST" request method.- Parameters:
aPost
- the post to be added.
-
getPostCount
public int getPostCount()Gets the number of connect points URL for the HTTP "POST" request method.- Returns:
- the number of connect points URL for the HTTP "POST" request method.
-
removePost
public void removePost(int aIndex) Removes the connect point URL for the HTTP "POST" request method at a given position.- Parameters:
aIndex
- the index of the given position.
-
getPost
Gets the connect point URL for the HTTP "POST" request method.- Parameters:
aIndex
- the index of the given position.- Returns:
- the connect point URL for the HTTP "POST" request method at the given position.
-
getGet
Returns the value of the property that maps to theGet
element.Connect point URL prefix and any constraints for the HTTP "Get" request method for this operation request.
- Returns:
- the value of the
GET_PROPERTY
property.
-
getPost
Returns the value of the property that maps to thePost
element.Connect point URL and any constraints for the HTTP "Post" request method for this operation request.
- Returns:
- the value of the
POST_PROPERTY
property.
-