public class WebControllerBuilder extends ControllerBuilder
applicationContext, controller, controllerManager, interceptorManager, internalUpdate, validatorFactory
Constructor and Description |
---|
WebControllerBuilder(ControllerBuilder builder,
ControllerManager.InternalUpdate internalUpdate) |
WebControllerBuilder(Controller controller,
ControllerManager controllerManager,
InterceptorManager interceptorManager,
ValidatorFactory validatorFactory,
ConfigurableApplicationContext applicationContext,
ControllerManager.InternalUpdate internalUpdate) |
addAction, addAction, addAction, addAction, addAction, addAction, addAlias, addGenericProperty, addGenericProperty, addGenericProperty, addInterceptor, addNullProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addPropertyMapping, addPropertyMapping, addPropertyMapping, addStaticProperty, addThrowable, addThrowable, addThrowable, buildMappingBean, buildMappingBean, buildProperty, getActionId, getActionType, getBean, getClassType, getDispatcherType, getId, getLogger, getName, getParentBuilder, getProperty, getView, isResolvedView, removeAlias, setActionId, setActionType, setDispatcherType, setDispatcherType, setName
public WebControllerBuilder(ControllerBuilder builder, ControllerManager.InternalUpdate internalUpdate)
public WebControllerBuilder(Controller controller, ControllerManager controllerManager, InterceptorManager interceptorManager, ValidatorFactory validatorFactory, ConfigurableApplicationContext applicationContext, ControllerManager.InternalUpdate internalUpdate)
public ControllerBuilder addAlias(String id)
addAlias
in class ControllerBuilder
public ControllerBuilder addAlias(String id, RequestMethodType requestMethodType)
public ControllerBuilder removeAlias(String id)
removeAlias
in class ControllerBuilder
public ControllerBuilder removeAlias(String id, RequestMethodType requestMethodType)
public ActionBuilder addAction(String id, String resultId, boolean resultRendered, String view, DispatcherType dispatcher, boolean resolvedView, String executor)
addAction
in class ControllerBuilder
public ActionBuilder addAction(String id, RequestMethodType requestMethodType, String resultId, boolean resultRendered, String view, DispatcherType dispatcher, boolean resolvedView, String executor)
public WebThrowSafeBuilder addThrowable(Class<?> target, String view, String id, DispatcherType dispatcher, boolean resolvedView)
addThrowable
in class ControllerBuilder
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 ControllerBuilder setDefaultAction(String id)
setDefaultAction
in class ControllerBuilder
public ControllerBuilder setDefaultAction(String id, RequestMethodType requestMethodType)
public ControllerBuilder setView(String value, boolean resolvedView)
setView
in class ControllerBuilder
public ControllerBuilder addRequestType(DataType value)
addRequestType
in class ControllerBuilder
public ControllerBuilder removeRequestType(DataType value)
removeRequestType
in class ControllerBuilder
public ControllerBuilder addResponseType(DataType value)
addResponseType
in class ControllerBuilder
public ControllerBuilder removeResponseType(DataType value)
removeResponseType
in class ControllerBuilder
public ControllerBuilder setResponseStatus(int value)
public int getResponseStatus()
Copyright © 2018 Brandao. All rights reserved.