public abstract class OGCRequest extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
isDeleted |
protected OGCProtocolHandler |
protocolHandler |
protected RemoteClientStatus |
status |
protected static String |
XMLTAG_ENDCHARACTER |
protected static String |
XMLTAG_FINISHCHARACTER |
protected static String |
XMLTAG_STARTCHARACTER |
Constructor and Description |
---|
OGCRequest(RemoteClientStatus status,
OGCProtocolHandler protocolHandler) |
Modifier and Type | Method and Description |
---|---|
protected String |
createXMLEndtTag(String tagName) |
protected String |
createXMLStartTag(String tagName) |
protected abstract String |
getHttpGetRequest(String onlineResource) |
protected abstract String |
getHttpPostRequest(String onlineResource) |
protected abstract String |
getOperationName() |
protected abstract String |
getSchemaLocation() |
protected static String |
getSymbol(String h)
Just for not repeat code.
|
protected abstract String |
getTempFilePrefix() |
URL |
getURL() |
boolean |
isDeleted() |
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 String XMLTAG_STARTCHARACTER
protected static final String XMLTAG_FINISHCHARACTER
protected static final String XMLTAG_ENDCHARACTER
public OGCRequest(RemoteClientStatus status, OGCProtocolHandler protocolHandler)
public File sendRequest(ICancellable cancel) throws ConnectException, UnknownHostException, IOException
IOException
UnknownHostException
ConnectException
protected abstract String getTempFilePrefix()
protected abstract String getOperationName()
protected abstract String getSchemaLocation()
public URL getURL() throws MalformedURLException
MalformedURLException
protected static String getSymbol(String h)
h
- public boolean isDeleted()
public void setDeleted(boolean isDeleted)