public CommunicatorResponse getResponse(ServerRequest request) throws IOException {
		request.generate();

		Class<?> failureType = request.getFailureResponseType();

		if (failureType == null) {
			failureType = request.getExpectedResponseType();
		}

		return this.getResponse(request.getGeneratedURL(), request.getHttpMethod().toString(), request.getHeaders(), request.getBody(), request.getExpectedResponseType(), failureType);
	}
public CommunicatorResponse getResponse ( ServerRequest request ) throws IOException { request . generate ( ) ; Class < ? > failureType = request . getFailureResponseType ( ) ; if ( failureType == null ) { failureType = request . getExpectedResponseType ( ) ; } return this . getResponse ( request . getGeneratedURL ( ) , request . getHttpMethod ( ) . toString ( ) , request . getHeaders ( ) , request . getBody ( ) , request . getExpectedResponseType ( ) , failureType ) ; }
//////////////