接口的使用
cn.taketoday.web.ErrorResponse
使用ErrorResponse的程序包
程序包
说明
Request context parameter resolvers
Request context date parameter resolvers
Support for asynchronous request processing.
Web Handler
Provides the types that make up Infra functional web framework.
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
-
cn.taketoday.web中ErrorResponse的使用
修饰符和类型类说明classRuntimeExceptionthat implementsErrorResponseto expose an HTTP status, response headers, and a body formatted as an RFC 7807ProblemDetail.classForHandlerAdapternot foundclassAbstract base for exceptions related to media types.classException thrown when the request handler cannot generate a response that is acceptable by the client.classException thrown when a client POSTs, PUTs, or PATCHes content of a type not supported by request handler.classException thrown when a request handler does not support a specific request method.classFor Framework Configuration errorsclassclassException for errors that fit response status 405 (method not allowed).classException for errors that fit response status 406 (not acceptable).classSubclass ofErrorResponseExceptionthat accepts a "reason" and maps it to the "detail" property ofProblemDetail.classException for errors that fit response status 415 (unsupported media type). -
cn.taketoday.web.bind中ErrorResponse的使用
修饰符和类型类说明classException to be thrown when validation on an argument annotated with@Validfails.classMethodParameter can't be resolvedclassRequestBindingExceptionsubclass that indicates that a matrix variable expected in the method parameters of an@RequestMappingmethod is not present among the matrix variables extracted from the URL.classRequestBindingExceptionsubclass that indicates that a path variable expected in the method parameters of an@RequestMappingmethod is not present among the URI variables extracted from the URL.classRequestBindingExceptionsubclass that indicates a missing parameter.classBase class forRequestBindingExceptionexceptions that could not bind because the request value is required but is either missing or otherwise resolves tonullafter conversion.classFatal binding exception, thrown when we want to treat binding exceptions as unrecoverable.classRequestBindingExceptionsubclass that indicates an unsatisfied parameter condition, as typically expressed using an@RequestMappingannotation at the@Controllertype level. -
cn.taketoday.web.bind.resolver中ErrorResponse的使用
修饰符和类型类说明classRequestBindingExceptionsubclass that indicates that a request cookie expected in the method parameters of an@RequestMappingmethod is not present.classRequestBindingExceptionsubclass that indicates that a request header expected in the method parameters of an@RequestMappingmethod is not present.classRaised when the part of a "multipart/form-data" request identified by its name cannot be found.classParameter can't convert to target classclassForParameterResolvingStrategyNotFound Exception -
cn.taketoday.web.bind.resolver.date中ErrorResponse的使用
-
cn.taketoday.web.context.async中ErrorResponse的使用
修饰符和类型类说明classException to be thrown when an async request times out. -
cn.taketoday.web.handler中ErrorResponse的使用
修饰符和类型类说明classBy default when the DispatcherHandler can't find a handler for a request it sends a 404 response.classForReturnValueHandlernot found参数类型为ErrorResponse的cn.taketoday.web.handler中的方法修饰符和类型方法说明protected ObjectSimpleHandlerExceptionHandler.handleErrorResponse(ErrorResponse errorResponse, RequestContext request, Object handler) Handle anErrorResponseexception. -
cn.taketoday.web.handler.function中ErrorResponse的使用
修饰符和类型方法说明static ServerResponseServerResponse.from(ErrorResponse response) Create aServerResponsefrom the givenErrorResponse. -
cn.taketoday.web.view中ErrorResponse的使用