MockResponse function ( String arg0 ) { return setBody ( new Buffer ( ) . writeUtf8 ( arg0 ) ) ; }
sets the response body to the utf-8 encoded bytes of body . concode_field_sep SocketPolicy socketPolicy concode_elem_sep long bodyDelayAmount concode_elem_sep Headers.Builder headers concode_elem_sep List<PushPromise> promises concode_elem_sep String CHUNKED_BODY_HEADER concode_elem_sep TimeUnit bodyDelayUnit concode_elem_sep Buffer body concode_elem_sep String status concode_elem_sep long throttlePeriodAmount concode_elem_sep WebSocketListener webSocketListener concode_elem_sep long throttleBytesPerPeriod concode_elem_sep TimeUnit throttlePeriodUnit concode_field_sep MockResponse setHeaders concode_elem_sep MockResponse addHeader concode_elem_sep MockResponse addHeader concode_elem_sep Headers getHeaders concode_elem_sep MockResponse clearHeaders concode_elem_sep Buffer getBody concode_elem_sep MockResponse setSocketPolicy concode_elem_sep String getStatus concode_elem_sep MockResponse setResponseCode concode_elem_sep MockResponse withPush concode_elem_sep MockResponse setHeader concode_elem_sep MockResponse setStatus concode_elem_sep WebSocketListener getWebSocketListener concode_elem_sep MockResponse removeHeader concode_elem_sep MockResponse throttleBody concode_elem_sep MockResponse setBodyDelay concode_elem_sep long getBodyDelay concode_elem_sep List<PushPromise> getPushPromises concode_elem_sep MockResponse setChunkedBody concode_elem_sep MockResponse setChunkedBody concode_elem_sep long getThrottleBytesPerPeriod concode_elem_sep MockResponse clone concode_elem_sep MockResponse withWebSocketUpgrade concode_elem_sep String toString concode_elem_sep long getThrottlePeriod concode_elem_sep SocketPolicy getSocketPolicy