Class ResponseCheckFilter


  • public class ResponseCheckFilter
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void checkResponse​(ResponseContext con)
      check that response had a valid return code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResponseCheckFilter

        public ResponseCheckFilter()
    • Method Detail

      • checkResponse

        public static void checkResponse​(ResponseContext con)
                                  throws java.lang.Exception
        check that response had a valid return code. Throw exception if not.
        Parameters:
        con - open http connection
        Throws:
        java.io.IOException - Throws IOException for certain error types.
        java.lang.Exception