org.geotools.data.wms
Class WMS1_1_0.InternalGetStylesRequest

java.lang.Object
  extended by org.geotools.data.ows.AbstractRequest
      extended by org.geotools.data.wms.request.AbstractWMSRequest
          extended by org.geotools.data.wms.request.AbstractGetStylesRequest
              extended by org.geotools.data.wms.WMS1_1_0.InternalGetStylesRequest
All Implemented Interfaces:
Request, GetStylesRequest
Enclosing class:
WMS1_1_0

public static class WMS1_1_0.InternalGetStylesRequest
extends AbstractGetStylesRequest


Field Summary
 
Fields inherited from class org.geotools.data.ows.AbstractRequest
EXCEPTION_XML, onlineResource, properties
 
Fields inherited from interface org.geotools.data.wms.request.GetStylesRequest
LAYERS, SLDVER
 
Fields inherited from interface org.geotools.data.ows.Request
REQUEST, SERVICE, VERSION, WMTVER
 
Constructor Summary
WMS1_1_0.InternalGetStylesRequest(java.net.URL onlineResource, Layer[] layers)
           
 
Method Summary
 Response createResponse(java.lang.String contentType, java.io.InputStream inputStream)
          Each Request must know how to create it's counterpart Response.
protected  void initVersion()
          Sets up the version number for this request.
 
Methods inherited from class org.geotools.data.wms.request.AbstractGetStylesRequest
getLayers, initRequest, setLayers, setSLDver
 
Methods inherited from class org.geotools.data.wms.request.AbstractWMSRequest
initService
 
Methods inherited from class org.geotools.data.ows.AbstractRequest
getFinalURL, getPostContentType, getProperties, performPostOutput, processKey, requiresPost, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.geotools.data.ows.Request
getFinalURL, getPostContentType, getProperties, performPostOutput, requiresPost, setProperty
 

Constructor Detail

WMS1_1_0.InternalGetStylesRequest

public WMS1_1_0.InternalGetStylesRequest(java.net.URL onlineResource,
                                         Layer[] layers)
Parameters:
onlineResource -
layers -
Method Detail

initVersion

protected 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 class AbstractGetStylesRequest

createResponse

public Response createResponse(java.lang.String contentType,
                               java.io.InputStream inputStream)
                        throws ServiceException,
                               java.io.IOException
Description copied from interface: Request
Each Request must know how to create it's counterpart Response. Given the content type and input stream (containin the response data), this method must return an appropriate Response object.

Parameters:
contentType - the MIME type of the data in the inputStream
inputStream - contains the data from the response
Throws:
ServiceException
java.io.IOException


Copyright © 1996-2010 Geotools. All Rights Reserved.