Package com.arms.api.util.response
Class 응답처리
- java.lang.Object
-
- com.arms.api.util.response.응답처리
-
public class 응답처리 extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
응답처리.ApiError
static class
응답처리.ApiResult<T>
-
Constructor Summary
Constructors Constructor Description 응답처리()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 응답처리.ApiResult<?>
error(에러코드 errorCode, org.springframework.http.HttpStatus status)
static 응답처리.ApiResult<?>
error(java.lang.String message, 에러코드 errorCode, org.springframework.http.HttpStatus status)
static 응답처리.ApiResult<?>
error(java.lang.String message, org.springframework.http.HttpStatus status)
static 응답처리.ApiResult<?>
error(java.lang.Throwable throwable, org.springframework.http.HttpStatus status)
static <T> 응답처리.ApiResult<T>
success(T response)
-
-
-
Method Detail
-
success
public static <T> 응답처리.ApiResult<T> success(T response)
-
error
public static 응답처리.ApiResult<?> error(java.lang.Throwable throwable, org.springframework.http.HttpStatus status)
-
error
public static 응답처리.ApiResult<?> error(java.lang.String message, org.springframework.http.HttpStatus status)
-
error
public static 응답처리.ApiResult<?> error(에러코드 errorCode, org.springframework.http.HttpStatus status)
-
error
public static 응답처리.ApiResult<?> error(java.lang.String message, 에러코드 errorCode, org.springframework.http.HttpStatus status)
-
-