public class StaxResponseHandlerTest extends Object
| Constructor and Description | 
|---|
| StaxResponseHandlerTest() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | setup() | 
| void | socketTimeoutThrownAfternInitialContent_ThrowsIoException()The XML reader throws an  XMLStreamExceptionwhich wraps the IO Exception. | 
| void | socketTimeoutThrownFromInputStream_ThrowsIoException()This throws a socket timeout exception immediately. | 
public void setup()
public void socketTimeoutThrownFromInputStream_ThrowsIoException()
                                                          throws Exception
XMLStreamException in
 two places.Exceptionpublic void socketTimeoutThrownAfternInitialContent_ThrowsIoException()
                                                               throws Exception
XMLStreamException which wraps the IO Exception. The handler
 must unwrap it so that it's handled by retry policies correctly.ExceptionCopyright © 2020. All rights reserved.