类的使用
cn.t.common.rpc.RpcResult
-
-
cn.t.common.rpc中RpcResult的使用
返回RpcResult的cn.t.common.rpc中的方法 修饰符和类型 方法 说明 static <T> RpcResult<T>RpcResult. buildFail(ErrorInfo errorInfo)static <T> RpcResult<T>RpcResult. buildFail(ErrorInfo errorInfo, T data)static <T> RpcResult<T>RpcResult. buildFail(String errorCode)static <T> RpcResult<T>RpcResult. buildFail(String errorCode, String message)static <T> RpcResult<T>RpcResult. buildFail(String errorCode, String message, T data)static <T> RpcResult<T>RpcResult. buildFail(String errorCode, T data)static <T> RpcResult<T>RpcResult. buildSuccess()static <T> RpcResult<T>RpcResult. buildSuccess(T data)static <T> RpcResult<T>RpcResult. buildSystemError(String msg)RpcResult<Object>FeignRpcService. exception(ServiceException e)RpcResult<Object>FeignRpcService. exception(Throwable t)RpcResult<Object>FeignRpcService. messageNotReadable(org.springframework.http.converter.HttpMessageNotReadableException e)RpcResult<Object>FeignRpcService. methodArgumentNotValid(org.springframework.validation.BindException e)RpcResult<Object>FeignRpcService. methodArgumentNotValid(org.springframework.web.bind.MethodArgumentNotValidException e)RpcResult<Object>FeignRpcService. methodNotSupport(org.springframework.web.HttpRequestMethodNotSupportedException e)RpcResult<Object>FeignRpcService. noHandlerFound(org.springframework.web.servlet.NoHandlerFoundException e)参数类型为RpcResult的cn.t.common.rpc中的方法 修饰符和类型 方法 说明 static voidRpcUtil. checkResult(RpcResult<?> result)static <T> TRpcUtil. extractResult(RpcResult<T> result)
-