asserts that the current response was redirected and returns the prior response . concode_field_sep Request request concode_elem_sep WebSocket webSocket concode_elem_sep Response response concode_elem_sep IOException failure concode_elem_sep String body concode_field_sep RecordedResponse assertNoNetworkResponse concode_elem_sep RecordedResponse assertNoCacheResponse concode_elem_sep RecordedResponse assertCode concode_elem_sep RecordedResponse assertRequestUrl concode_elem_sep RecordedResponse networkResponse concode_elem_sep RecordedResponse assertHeader concode_elem_sep RecordedResponse assertHandshake concode_elem_sep RecordedResponse cacheResponse concode_elem_sep RecordedResponse assertBody concode_elem_sep RecordedResponse assertRequestMethod concode_elem_sep RecordedResponse assertNotSuccessful concode_elem_sep RecordedResponse assertRequestHeader concode_elem_sep void assertFailure concode_elem_sep RecordedResponse assertSuccessful
RecordedResponse function ( ) { Response loc0 = response . loc0 ( ) ; assertNotNull ( loc0 ) ; assertNull ( loc0 . body ( ) ) ; return new RecordedResponse ( loc0 . request ( ) , loc0 , null , null , null ) ; }