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 |
status
protected RemoteClientStatus status
protocolHandler
protected OGCProtocolHandler protocolHandler
isDeleted
protected boolean isDeleted
XMLTAG_STARTCHARACTER
protected static final java.lang.String XMLTAG_STARTCHARACTER
- See Also:
- Constant Field Values
XMLTAG_FINISHCHARACTER
protected static final java.lang.String XMLTAG_FINISHCHARACTER
- See Also:
- Constant Field Values
XMLTAG_ENDCHARACTER
protected static final java.lang.String XMLTAG_ENDCHARACTER
- See Also:
- Constant Field Values
OGCRequest
public OGCRequest(RemoteClientStatus status,
OGCProtocolHandler protocolHandler)
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
getHttpGetRequest
protected abstract java.lang.String getHttpGetRequest(java.lang.String onlineResource)
getHttpPostRequest
protected abstract java.lang.String getHttpPostRequest(java.lang.String onlineResource)
getTempFilePrefix
protected abstract java.lang.String getTempFilePrefix()
getOperationName
protected abstract java.lang.String getOperationName()
getSchemaLocation
protected abstract java.lang.String getSchemaLocation()
getURL
public java.net.URL getURL()
throws java.net.MalformedURLException
- Returns:
- the URL used in the HTTP get operation
- Throws:
java.net.MalformedURLException
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:
isDeleted
public boolean isDeleted()
setDeleted
public void setDeleted(boolean isDeleted)
createXMLStartTag
protected java.lang.String createXMLStartTag(java.lang.String tagName)
createXMLEndtTag
protected java.lang.String createXMLEndtTag(java.lang.String tagName)
Copyright © 2004-2013 gvSIG. All Rights Reserved.