MockResponse function ( int arg0 ) { closeConnectionAfterXBytes = arg0 ; setCloseConnectionAfter ( true ) ; return this ; }
sets the number of bytes in the body to send before which the server should close the connection . set to -1 to unset and send the entire body default . concode_field_sep int pauseConnectionAfterXBytes concode_elem_sep String LOG_TAG concode_elem_sep int closeConnectionAfterXBytes concode_elem_sep boolean closeConnectionAfter concode_elem_sep File bodyExternalFile concode_elem_sep String status concode_elem_sep Map<String,String> headers concode_elem_sep String closeConnectionAfterHeader concode_elem_sep byte[] EMPTY_BODY concode_elem_sep byte[] body concode_field_sep boolean bodyIsExternal concode_elem_sep MockResponse addHeader concode_elem_sep MockResponse addHeader concode_elem_sep List<String> getHeaders concode_elem_sep InputStream getBody concode_elem_sep boolean shouldCloseConnectionAfter concode_elem_sep String getCloseConnectionAfterHeader concode_elem_sep int getPauseConnectionAfterXBytes concode_elem_sep boolean getShouldClose concode_elem_sep MockResponse setPauseConnectionAfterXBytes concode_elem_sep String getStatus concode_elem_sep MockResponse setResponseCode concode_elem_sep MockResponse setBody concode_elem_sep MockResponse setBody concode_elem_sep MockResponse setBody concode_elem_sep MockResponse removeHeader concode_elem_sep MockResponse setChunkedBody concode_elem_sep MockResponse setChunkedBody concode_elem_sep boolean getShouldPause concode_elem_sep int getCloseConnectionAfterXBytes concode_elem_sep MockResponse setCloseConnectionAfterHeader concode_elem_sep String toString concode_elem_sep MockResponse setCloseConnectionAfter