| Package | Description |
|---|---|
| com.geoway.adf.dms.common.web |
| Modifier and Type | Class and Description |
|---|---|
class |
ResponsePage<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> Response<T> |
Response.error(int code,
String msg) |
static <T> Response<T> |
Response.error(String msg)
失败
|
Response |
GlobalExceptionHandler.exceptionHandler(Exception e) |
Response |
GlobalExceptionHandler.exceptionHandler(NullPointerException e) |
Response |
GlobalExceptionHandler.exceptionHandler(SQLException e) |
static Response |
Response.ok()
成功
|
static <T> Response<T> |
Response.ok(T data)
成功
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Response> |
GlobalExceptionHandler.exceptionHandler(FileUploadIllegalException e) |
org.springframework.http.ResponseEntity<Response> |
GlobalExceptionHandler.exceptionHandler(org.springframework.web.client.HttpStatusCodeException e) |
org.springframework.http.ResponseEntity<Response> |
GlobalExceptionHandler.exceptionHandler(org.springframework.web.multipart.MaxUploadSizeExceededException e) |
Copyright © 2025. All rights reserved.