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 void
initRequest()
protected abstract void
initVersion()
Sets up the version number for this request.void
setMode(String mode)
void
setSLD(String sld)
void
setSLDBody(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:
initRequest
in classAbstractRequest
-
initVersion
protected abstract void initVersion()
Description copied from class:AbstractRequest
Sets up the version number for this request. Typically something like setProperty("VERSION", "1.1.1");- Specified by:
initVersion
in classAbstractRequest
-
setMode
public void setMode(String mode)
- Specified by:
setMode
in 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:
setSLD
in interfacePutStylesRequest
-
setSLDBody
public void setSLDBody(String sldBody)
- Specified by:
setSLDBody
in interfacePutStylesRequest
-
-