Class OGCRequest
java.lang.Object
org.gvsig.remoteclient.ogc.request.OGCRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected OGCProtocolHandlerprotected RemoteClientStatusprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateXMLEndtTag(String tagName) protected StringcreateXMLStartTag(String tagName) protected abstract StringgetHttpGetRequest(String onlineResource) protected abstract StringgetHttpPostRequest(String onlineResource) protected abstract Stringprotected abstract Stringprotected static StringJust for not repeat code.protected abstract StringgetURL()booleansendRequest(org.gvsig.compat.net.ICancellable cancel) Send a request to the server.voidsetDeleted(boolean isDeleted)
-
Field Details
-
status
-
protocolHandler
-
isDeleted
protected boolean isDeleted -
XMLTAG_STARTCHARACTER
- See Also:
-
XMLTAG_FINISHCHARACTER
- See Also:
-
XMLTAG_ENDCHARACTER
- See Also:
-
-
Constructor Details
-
OGCRequest
-
-
Method Details
-
sendRequest
public File sendRequest(org.gvsig.compat.net.ICancellable cancel) throws ConnectException, UnknownHostException, IOException Send a request to the server.- Returns:
- The server reply
- Throws:
IOExceptionUnknownHostExceptionConnectException
-
getHttpGetRequest
-
getHttpPostRequest
-
getTempFilePrefix
-
getOperationName
-
getSchemaLocation
-
getURL
- Returns:
- the URL used in the HTTP get operation
- Throws:
MalformedURLException
-
getSymbol
Just for not repeat code. Gets the correct separator according to the server URL- Parameters:
h-- Returns:
-
isDeleted
public boolean isDeleted() -
setDeleted
public void setDeleted(boolean isDeleted) -
createXMLStartTag
-
createXMLEndtTag
-