Uses of Class
cloud.opencode.base.basecode.CodeResult
Packages that use CodeResult
-
Uses of CodeResult in cloud.opencode.base.basecode
Methods in cloud.opencode.base.basecode that return CodeResultModifier and TypeMethodDescriptionstatic CodeResultCodeResult.ERROR()ERRORstatic CodeResultERRORstatic CodeResultERRORstatic CodeResultERRORstatic CodeResultCodeResult.ERROR(org.springframework.http.HttpStatus status, org.springframework.http.MediaType type, org.springframework.util.MultiValueMap<String, String> headers) ERRORstatic CodeResultCodeResult.OK()OKstatic <T> CodeResultCodeResult.OK(T data) OKstatic <T> CodeResultOKstatic <T> CodeResultOKstatic <T> CodeResultCodeResult.OK(T data, Long total, Long page, Long pageSize, String message, Integer code, org.springframework.http.MediaType type, org.springframework.util.MultiValueMap<String, String> headers) OKstatic <T> CodeResultOKstatic <T> CodeResultOKstatic <T> CodeResultOKstatic <T> CodeResultOKstatic <T> CodeResultCodeResult.OK(T data, org.springframework.http.HttpStatus status) OKstatic <T> CodeResultCodeResult.OK(T data, org.springframework.http.MediaType type) OKstatic <T> CodeResultCodeResult.OK(T data, org.springframework.http.MediaType type, org.springframework.http.HttpStatus status) OKstatic <T> CodeResultCodeResult.OK(T data, org.springframework.http.MediaType type, org.springframework.util.MultiValueMap<String, String> headers) OKstatic <T> CodeResultCodeResult.OK(T data, org.springframework.http.MediaType type, org.springframework.util.MultiValueMap<String, String> headers, org.springframework.http.HttpStatus status) OKstatic <T> CodeResultCodeResult.OKOnlyStatus(org.springframework.http.HttpStatus status) OKstatic <T> CodeResultCodeResult.OKWithMediaTypeAndHeaders(T data, org.springframework.http.MediaType type, org.springframework.util.MultiValueMap<String, String> headers) OKWithMediaTypeAndHeadersstatic <T> CodeResultCodeResult.OKWithMediaTypeAndHeaders(T data, org.springframework.http.MediaType type, org.springframework.util.MultiValueMap<String, String> headers, org.springframework.http.HttpStatus status) OKWithMediaTypeAndHeadersstatic <T> CodeResultCodeResult.OKWithoutStatus(T data) OK -
Uses of CodeResult in cloud.opencode.base.basecode.handler
Methods in cloud.opencode.base.basecode.handler that return CodeResultModifier and TypeMethodDescriptionCodeExceptionHandler.handleCodeException(CodeException e) Handle CodeException 处理自定义异常CodeExceptionHandler.handleException(Exception e) Handle Exception 处理通用异常CodeExceptionHandler.handleHttpMediaTypeNotSupportedException(org.springframework.web.HttpMediaTypeNotSupportedException e) Handle HttpMediaTypeNotSupportedException 处理不支持的媒体类型异常CodeExceptionHandler.handleIllegalArgumentException(IllegalArgumentException e) Handle IllegalArgumentException 处理参数异常CodeExceptionHandler.handleNoHandlerFoundException(org.springframework.web.servlet.NoHandlerFoundException e) Handle NoHandlerFoundException 处理未找到处理器异常CodeExceptionHandler.handleNullPointerException(NullPointerException e) Handle NullPointerException 处理空指针异常CodeExceptionHandler.handleRuntimeException(RuntimeException e) Handle RuntimeException 处理运行时异常CodeExceptionHandler.handleSecurityException(SecurityException e) Handle SecurityException 处理安全异常