Expanded class hierarchy of AjaxResponse in Drupal 8
- class \Drupal\Core\Ajax\AjaxResponse extends \Symfony\Component\HttpFoundation\JsonResponse implements AttachmentsInterface uses AttachmentsTrait
- class \Drupal\js\JsResponse uses DependencySerializationTrait, StringTranslationTrait
- class \Drupal\views\Ajax\ViewAjaxResponse
- class \Drupal\views_ajax_get\CacheableAjaxResponse implements CacheableResponseInterface uses CacheableResponseTrait
- class \Drupal\webform\Ajax\WebformSubmissionAjaxResponse