Package org.geotools.ows.wms.request
Class AbstractPutStylesRequest
- Object
-
- AbstractRequest
-
- AbstractWMSRequest
-
- AbstractPutStylesRequest
-
- All Implemented Interfaces:
Request,PutStylesRequest
- Direct Known Subclasses:
WMS1_1_1.InternalPutStylesRequest
public abstract class AbstractPutStylesRequest extends AbstractWMSRequest implements PutStylesRequest
Presents basic functionality for a PutStyles request- Author:
- Richard Gould
-
-
Field Summary
-
Fields inherited from class AbstractRequest
EXCEPTION_XML, hints, onlineResource, properties
-
Fields inherited from interface PutStylesRequest
INSERT_AND_REPLACE, MODE, REPLACE_ALL, SLD, SLD_BODY
-
-
Constructor Summary
Constructors Constructor Description AbstractPutStylesRequest(URL onlineResource, Properties properties)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidinitRequest()protected abstract voidinitVersion()Sets up the version number for this request.voidsetMode(String mode)voidsetSLD(String sld)voidsetSLDBody(String sldBody)-
Methods inherited from class AbstractWMSRequest
initService
-
Methods inherited from class AbstractRequest
getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, processKey, requiresPost, setProperty, setRequestHints
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface Request
createResponse, getFinalURL, getPostContentType, getProperties, getRequestHints, performPostOutput, requiresPost, setProperty, setRequestHints
-
-
-
-
Constructor Detail
-
AbstractPutStylesRequest
public AbstractPutStylesRequest(URL onlineResource, Properties properties)
-
-
Method Detail
-
initRequest
protected void initRequest()
- Specified by:
initRequestin classAbstractRequest
-
initVersion
protected abstract void initVersion()
Description copied from class:AbstractRequestSets up the version number for this request. Typically something like setProperty("VERSION", "1.1.1");- Specified by:
initVersionin classAbstractRequest
-
setMode
public void setMode(String mode)
- Specified by:
setModein interfacePutStylesRequest- Parameters:
mode- one of INSERT_AND_REPLACE or REPLACE_ALL- See Also:
PutStylesRequest.setMode(java.lang.String)
-
setSLD
public void setSLD(String sld)
- Specified by:
setSLDin interfacePutStylesRequest
-
setSLDBody
public void setSLDBody(String sldBody)
- Specified by:
setSLDBodyin interfacePutStylesRequest
-
-