Uses of Class
io.github.og4dev.dto.ApiResponse
Packages that use ApiResponse
Package
Description
Data Transfer Object (DTO) classes for standardized API responses.
-
Uses of ApiResponse in io.github.og4dev.dto
Methods in io.github.og4dev.dto that return ApiResponseModifier and TypeMethodDescriptionApiResponse.ApiResponseBuilder.build()Builds the ApiResponse instance.Methods in io.github.og4dev.dto that return types with arguments of type ApiResponseModifier and TypeMethodDescriptionstatic <T> org.springframework.http.ResponseEntity<ApiResponse<T>>Creates a CREATED (201) response with a message and content.static org.springframework.http.ResponseEntity<ApiResponse<Void>>Creates a response with a custom HTTP status and message only.static <T> org.springframework.http.ResponseEntity<ApiResponse<T>>Creates a response with a custom HTTP status, message, and content.static org.springframework.http.ResponseEntity<ApiResponse<Void>>Creates a SUCCESS (200) response with only a message.static <T> org.springframework.http.ResponseEntity<ApiResponse<T>>Creates a SUCCESS (200) response with a message and content.