Class WFSRequest

    • Method Detail

      • getOutputFormat

        public String getOutputFormat()
      • getHandle

        public String getHandle()
      • setHandle

        public void setHandle​(String handle)
      • setOutputFormat

        public void setOutputFormat​(String outputFormat)
        Parameters:
        outputFormat - the outputFormat to set
      • setTypeName

        public void setTypeName​(QName typeName)
      • getTypeName

        public QName getTypeName()
      • requiresPost

        public boolean requiresPost()
        Description copied from class: AbstractRequest
        Default to not requiring POST. Implementors can override if they need to.
        Specified by:
        requiresPost in interface Request
        Overrides:
        requiresPost in class AbstractRequest
        Returns:
        true if this request needs POST support, false otherwise.
      • initService

        protected void initService()
        Description copied from class: AbstractRequest
        Implementing subclass requests must specify their own "SERVICE" value. Example: setProperty("SERVICE", "WFS");
        Specified by:
        initService in class AbstractRequest
      • 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 AbstractRequest
      • getFinalURL

        public URL getFinalURL()
        Description copied from interface: Request
        Once the properties of the request are configured, this will return the URL that points to the server and contains all of the appropriate name/value parameters.
        Specified by:
        getFinalURL in interface Request
        Overrides:
        getFinalURL in class AbstractRequest
        Returns:
        a URL that can be used to issue the request
        See Also:
        org.geotools.data.wms.request.Request#getFinalURL()
      • createResponse

        public WFSResponse createResponse​(HTTPResponse response)
                                   throws 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.
        Specified by:
        createResponse in interface Request
        Throws:
        IOException
      • toString

        public String toString()
        Overrides:
        toString in class Object