org.gvsig.remoteclient.ogc.request
Class OGCRequest
java.lang.Object
org.gvsig.remoteclient.ogc.request.OGCRequest
- Direct Known Subclasses:
- WCSRequest, WFSRequest, WMSRequest, WMTSRequest
public abstract class OGCRequest
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isDeleted
protected boolean isDeleted
protocolHandler
protected OGCProtocolHandler protocolHandler
status
protected RemoteClientStatus status
XMLTAG_ENDCHARACTER
protected static final java.lang.String XMLTAG_ENDCHARACTER
- See Also:
- Constant Field Values
XMLTAG_FINISHCHARACTER
protected static final java.lang.String XMLTAG_FINISHCHARACTER
- See Also:
- Constant Field Values
XMLTAG_STARTCHARACTER
protected static final java.lang.String XMLTAG_STARTCHARACTER
- See Also:
- Constant Field Values
OGCRequest
public OGCRequest(RemoteClientStatus status,
OGCProtocolHandler protocolHandler)
createXMLEndtTag
protected java.lang.String createXMLEndtTag(java.lang.String tagName)
createXMLStartTag
protected java.lang.String createXMLStartTag(java.lang.String tagName)
getHttpGetRequest
protected abstract java.lang.String getHttpGetRequest(java.lang.String onlineResource)
getHttpPostRequest
protected abstract java.lang.String getHttpPostRequest(java.lang.String onlineResource)
getOperationName
protected abstract java.lang.String getOperationName()
getSchemaLocation
protected abstract java.lang.String getSchemaLocation()
getSymbol
protected static java.lang.String getSymbol(java.lang.String h)
- Just for not repeat code. Gets the correct separator according
to the server URL
- Parameters:
h -
- Returns:
getTempFilePrefix
protected abstract java.lang.String getTempFilePrefix()
getURL
public java.net.URL getURL()
throws java.net.MalformedURLException
- Returns:
- the URL used in the HTTP get operation
- Throws:
java.net.MalformedURLException
isDeleted
public boolean isDeleted()
sendRequest
public java.io.File sendRequest(org.gvsig.compat.net.ICancellable cancel)
throws java.net.ConnectException,
java.net.UnknownHostException,
java.io.IOException
- Send a request to the server.
- Returns:
- The server reply
- Throws:
java.io.IOException
java.net.UnknownHostException
java.net.ConnectException
setDeleted
public void setDeleted(boolean isDeleted)
Copyright © 2014 gvSIG Association. All Rights Reserved.