Class EXIBinding

    • Constructor Detail

      • EXIBinding

        @Inject
        public EXIBinding​(EXIUtils exiUtils)
    • Method Detail

      • checkOperationHttpPostSupported

        public boolean checkOperationHttpPostSupported​(OwsOperationKey k)
                                                throws HTTPException
        Description copied from interface: Binding
        Check, if the operation is supported by the decoder by the HTTP-Post method.
        Parameters:
        k - identifier of the decoder
        Returns:
        true, if the decoder decoderKey supports HTTP-Post for operation operationName
        Throws:
        HTTPException - if an error occurs
      • doPostOperation

        public void doPostOperation​(javax.servlet.http.HttpServletRequest req,
                                    javax.servlet.http.HttpServletResponse res)
                             throws HTTPException,
                                    IOException
        Description copied from interface: Binding
        HTTP POST request handling method.
        Parameters:
        req - HTTP POST request
        res - HTTP POST response
        Throws:
        HTTPException - if the encoding of an exception failed
        IOException - if an IO error occurs
      • decode

        protected org.apache.xmlbeans.XmlObject decode​(javax.servlet.http.HttpServletRequest request)
                                                throws OwsExceptionReport
        Parse the incoming EXI encoded InputStream transform to XmlObject
        Parameters:
        request - HttpServletRequest with EXI encoded InputStream
        Returns:
        XmlObject created from the EXI encoded InputStream
        Throws:
        OwsExceptionReport - If an error occurs during parsing