Class HttpStatusResponse

    • Constructor Detail

      • HttpStatusResponse

        public HttpStatusResponse​(java.lang.String response)
    • Method Detail

      • validateResponse

        public boolean validateResponse​(java.lang.String pattern,
                                        java.lang.String url,
                                        boolean isCheckCode,
                                        int maxRetCode)
                                 throws java.lang.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:
        java.lang.Exception