public abstract class OGCRequest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
isDeleted |
protected OGCProtocolHandler |
protocolHandler |
protected RemoteClientStatus |
status |
protected static java.lang.String |
XMLTAG_ENDCHARACTER |
protected static java.lang.String |
XMLTAG_FINISHCHARACTER |
protected static java.lang.String |
XMLTAG_STARTCHARACTER |
Constructor and Description |
---|
OGCRequest(RemoteClientStatus status,
OGCProtocolHandler protocolHandler) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
createXMLEndtTag(java.lang.String tagName) |
protected java.lang.String |
createXMLStartTag(java.lang.String tagName) |
protected abstract java.lang.String |
getHttpGetRequest(java.lang.String onlineResource) |
protected abstract java.lang.String |
getHttpPostRequest(java.lang.String onlineResource) |
protected abstract java.lang.String |
getOperationName() |
protected abstract java.lang.String |
getSchemaLocation() |
protected static java.lang.String |
getSymbol(java.lang.String h)
Just for not repeat code.
|
protected abstract java.lang.String |
getTempFilePrefix() |
java.net.URL |
getURL() |
boolean |
isDeleted() |
java.io.File |
sendRequest(ICancellable cancel)
Send a request to the server.
|
void |
setDeleted(boolean isDeleted) |
protected RemoteClientStatus status
protected OGCProtocolHandler protocolHandler
protected boolean isDeleted
protected static final java.lang.String XMLTAG_STARTCHARACTER
protected static final java.lang.String XMLTAG_FINISHCHARACTER
protected static final java.lang.String XMLTAG_ENDCHARACTER
public OGCRequest(RemoteClientStatus status, OGCProtocolHandler protocolHandler)
public java.io.File sendRequest(ICancellable cancel) throws java.net.ConnectException, java.net.UnknownHostException, java.io.IOException
java.io.IOException
java.net.UnknownHostException
java.net.ConnectException
protected abstract java.lang.String getHttpGetRequest(java.lang.String onlineResource)
protected abstract java.lang.String getHttpPostRequest(java.lang.String onlineResource)
protected abstract java.lang.String getTempFilePrefix()
protected abstract java.lang.String getOperationName()
protected abstract java.lang.String getSchemaLocation()
public java.net.URL getURL() throws java.net.MalformedURLException
java.net.MalformedURLException
protected static java.lang.String getSymbol(java.lang.String h)
h
- public boolean isDeleted()
public void setDeleted(boolean isDeleted)
protected java.lang.String createXMLStartTag(java.lang.String tagName)
protected java.lang.String createXMLEndtTag(java.lang.String tagName)