Uses of Interface
org.springframework.web.ErrorResponse.Builder
Packages that use ErrorResponse.Builder
Package
Description
Common, generic interfaces that define minimal boundary points
between Spring's web infrastructure and other framework modules.
-
Uses of ErrorResponse.Builder in org.springframework.web
Methods in org.springframework.web that return ErrorResponse.BuilderModifier and TypeMethodDescriptionstatic ErrorResponse.BuilderErrorResponse.builder(Throwable ex, HttpStatusCode statusCode, String detail) Return a builder to create anErrorResponseinstance.Set the underlyingdetail.ErrorResponse.Builder.detailMessageArguments(Object... messageArguments) Set the arguments to provide to theMessageSourcelookup fordetailMessageCode(String).ErrorResponse.Builder.detailMessageCode(String messageCode) Customize theMessageSourcecode for looking up the value for the underlyingdetail.Add the given header value(s) under the given name.ErrorResponse.Builder.headers(Consumer<HttpHeaders> headersConsumer) Manipulate this response's headers with the given consumer.Set the underlyinginstancefield.Set a "dynamic"propertyon the underlyingProblemDetail.Set the underlyingtitlefield.ErrorResponse.Builder.titleMessageCode(String messageCode) Customize theMessageSourcecode for looking up the value for the underlyingtitle.Set the underlyingtypefield.