Uses of Class
ch.ralscha.extdirectspring.bean.ExtDirectResponseBuilder
Packages that use ExtDirectResponseBuilder
-
Uses of ExtDirectResponseBuilder in ch.ralscha.extdirectspring.bean
Methods in ch.ralscha.extdirectspring.bean that return ExtDirectResponseBuilderModifier and TypeMethodDescriptionExtDirectResponseBuilder.addErrors(Locale locale, org.springframework.context.MessageSource messageSource, org.springframework.validation.BindingResult bindingResult) Adds an "errors" property in the response if there are any errors in the bindingResult.ExtDirectResponseBuilder.addErrors(org.springframework.validation.BindingResult bindingResult) Adds an "errors" property in the response if there are any errors in the bindingResult.ExtDirectResponseBuilder.addResultProperty(String key, Object value) Add additional property to the response.static ExtDirectResponseBuilderExtDirectResponseBuilder.create(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Creates a builder instance.ExtDirectResponseBuilder.setException(Exception exception) Creates an "exception" response.ExtDirectResponseBuilder.setSuccess(boolean flag) Sets success flag to the provided parameter.ExtDirectResponseBuilder.successful()Sets success flag to true.ExtDirectResponseBuilder.unsuccessful()Sets success flag to false.