Package org.projectnessie.client.rest
Class ResponseCheckFilter
- java.lang.Object
-
- org.projectnessie.client.rest.ResponseCheckFilter
-
public class ResponseCheckFilter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ResponseCheckFilter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheckResponse(ResponseContext con)check that response had a valid return code.
-
-
-
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
-
-