Class HttpStatusResponse

    • Constructor Detail

      • HttpStatusResponse

        public HttpStatusResponse​(String response)
    • Method Detail

      • validateResponse

        public boolean validateResponse​(String pattern,
                                        String url,
                                        boolean isCheckCode,
                                        int maxRetCode)
                                 throws Exception

        validateResponse: Validate the HTTP response from LineOrientedResponse.getResponse().

        Parameters:
        pattern - Unused.
        url - Unused.
        isCheckCode - Whether to check the response code against maxRetCode for validity.
        maxRetCode - The maximum return code to accept.
        Returns:
        a boolean.
        Throws:
        Exception