public static DefaultGoApiResponse success ( String responseBody ) { DefaultGoApiResponse defaultGoApiResponse = new DefaultGoApiResponse ( SUCCESS_RESPONSE_CODE ) ; defaultGoApiResponse . setResponseBody ( responseBody ) ; return defaultGoApiResponse ; }
Creates an instance DefaultGoApiResponse which represents success request with response code 200