| Package | Description |
|---|---|
| ch.ralscha.extdirectspring.bean |
| Modifier and Type | Method and Description |
|---|---|
ExtDirectResponseBuilder |
ExtDirectResponseBuilder.addErrors(org.springframework.validation.BindingResult bindingResult)
Adds an "errors" property in the response if there are any errors in the
bindingResult.
|
ExtDirectResponseBuilder |
ExtDirectResponseBuilder.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 |
ExtDirectResponseBuilder.addResultProperty(String key,
Object value)
Add additional property to the response.
|
static ExtDirectResponseBuilder |
ExtDirectResponseBuilder.create(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates a builder instance.
|
ExtDirectResponseBuilder |
ExtDirectResponseBuilder.setException(Exception exception)
Creates an "exception" response.
|
ExtDirectResponseBuilder |
ExtDirectResponseBuilder.setSuccess(boolean flag)
Sets success flag to the provided parameter.
|
ExtDirectResponseBuilder |
ExtDirectResponseBuilder.successful()
Sets success flag to true.
|
ExtDirectResponseBuilder |
ExtDirectResponseBuilder.unsuccessful()
Sets success flag to false.
|
Copyright © 2010-2014. All Rights Reserved.