public class WebActionBuilder extends ActionBuilder
action, applicationContext, controller, controllerBuilder, parametersBuilder, validatorFactory
Constructor and Description |
---|
WebActionBuilder(ActionBuilder builder) |
WebActionBuilder(Action methodForm,
Controller controller,
ValidatorFactory validatorFactory,
ControllerBuilder controllerBuilder,
ConfigurableApplicationContext applicationContext) |
addAlias, addThrowable, addThrowable, addThrowable, buildParameter, buildParameter, buildParameters, buildResultAction, buildResultAction, getControllerBuilder, getDispatcherType, getExecutor, getName, getParameter, getParametersSize, getResult, getResultAction, getView, isResultRendered, removeAlias, setDispatcherType, setDispatcherType, setExecutor, setGenericResultAction, setGenericResultAction, setNullresultAction, setResult, setResultAction, setResultAction, setResultAction, setResultAction, setResultAction, setResultAction, setResultAction, setResultActionMapping, setResultActionMapping, setResultActionMapping, setResultRendered, setStaticResultAction
addRestriction, getParentBuilder, setMessage
public WebActionBuilder(ActionBuilder builder)
public WebActionBuilder(Action methodForm, Controller controller, ValidatorFactory validatorFactory, ControllerBuilder controllerBuilder, ConfigurableApplicationContext applicationContext)
public ActionBuilder addAlias(String id)
addAlias
in class ActionBuilder
public ActionBuilder addAlias(String id, RequestMethodType requestMethodType)
public ActionBuilder removeAlias(String id)
removeAlias
in class ActionBuilder
public ActionBuilder removeAlias(String id, RequestMethodType requestMethodType)
public WebThrowSafeBuilder addThrowable(Class<?> target, String view, String id, DispatcherType dispatcher, boolean resolvedView)
addThrowable
in class ActionBuilder
public WebThrowSafeBuilder addThrowable(int responseError, String reason, Class<?> target, String view, String id, DispatcherType dispatcher, boolean resolvedView)
public WebThrowSafeBuilder addThrowable(Class<?> target, String executor, int responseError, String reason, String view, DispatcherType dispatcher, boolean resolvedView, String resultId, boolean resultRendered)
public void setRequestMethod(RequestMethodType value)
public RequestMethodType getRequestMethod()
public ActionBuilder setView(String value, boolean viewResolved)
setView
in class ActionBuilder
public ActionBuilder addRequestType(DataType value)
addRequestType
in class ActionBuilder
public ActionBuilder removeRequestType(DataType value)
removeRequestType
in class ActionBuilder
public ActionBuilder addResponseType(DataType value)
addResponseType
in class ActionBuilder
public ActionBuilder removeResponseType(DataType value)
removeResponseType
in class ActionBuilder
public ActionBuilder setResponseStatus(int value)
public ActionBuilder setResponseError(Class<? extends Throwable> type, int value)
public int getResponseStatus()
Copyright © 2018 Brandao. All rights reserved.