br.com.caelum.vraptor.http.route.Router Java Examples

The following examples show how to use br.com.caelum.vraptor.http.route.Router. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DefaultStatus.java    From vraptor4 with Apache License 2.0 5 votes vote down vote up
@Inject
public DefaultStatus(HttpServletResponse response, Result result, Configuration config,
		Proxifier proxifier, Router router) {
	this.response = response;
	this.result = result;
	this.config = config;
	this.proxifier = proxifier;
	this.router = router;
}
 
Example #2
Source File: DefaultRefererResult.java    From vraptor4 with Apache License 2.0 5 votes vote down vote up
@Inject
public DefaultRefererResult(Result result, MutableRequest request, Router router, ParametersProvider provider,
		ReflectionProvider reflectionProvider) {
	this.result = result;
	this.request = request;
	this.router = router;
	this.provider = provider;
	this.reflectionProvider = reflectionProvider;
}
 
Example #3
Source File: LinkToHandler.java    From vraptor4 with Apache License 2.0 5 votes vote down vote up
@Inject
public LinkToHandler(ServletContext context, Router router, Proxifier proxifier, ReflectionProvider reflectionProvider) {
	this.context = context;
	this.router = router;
	this.proxifier = proxifier;
	this.reflectionProvider = reflectionProvider;
}
 
Example #4
Source File: Linker.java    From vraptor4 with Apache License 2.0 5 votes vote down vote up
public Linker(ServletContext context, Router router, Class<?> controller, String methodName, List<Object> args,
		ReflectionProvider reflectionProvider) {
	this.router = router;
	this.context = context;
	this.controller = controller;
	this.methodName = methodName;
	this.args = args;
	this.reflectionProvider = reflectionProvider;
}
 
Example #5
Source File: DefaultLogicResult.java    From vraptor4 with Apache License 2.0 5 votes vote down vote up
@Inject
public DefaultLogicResult(Proxifier proxifier, Router router, MutableRequest request, HttpServletResponse response,
		Container container, PathResolver resolver, TypeNameExtractor extractor, FlashScope flash, MethodInfo methodInfo) {
	this.proxifier = proxifier;
	this.response = unproxifyIfPossible(response);
	this.request = unproxifyIfPossible(request);
	this.router = router;
	this.container = container;
	this.resolver = resolver;
	this.extractor = extractor;
	this.flash = flash;
	this.methodInfo = methodInfo;
}
 
Example #6
Source File: ControllerHandler.java    From vraptor4 with Apache License 2.0 5 votes vote down vote up
@Inject
public ControllerHandler(Router router, RoutesParser parser,
		ServletContext context) {
	this.router = router;
	this.parser = parser;
	this.context = context;
}
 
Example #7
Source File: CORSController.java    From aprendendo-vraptor with Apache License 2.0 4 votes vote down vote up
@Inject
public CORSController(Result result, Router router) {
	this.result = result;
	this.router = router;
}
 
Example #8
Source File: CORSController.java    From mamute with Apache License 2.0 4 votes vote down vote up
@Inject
public CORSController(Result result, Router router, MutableRequest request) {
	this.result = result;
	this.router = router;
	this.request = request;
}
 
Example #9
Source File: EnvironmentDependentControllerHandler.java    From mamute with Apache License 2.0 4 votes vote down vote up
@Inject
public EnvironmentDependentControllerHandler(Router router, RoutesParser parser, ServletContext context, Environment environment) {
	super(router, parser, context);
	this.environment = environment;
}
 
Example #10
Source File: NotificationMailer.java    From mamute with Apache License 2.0 4 votes vote down vote up
public LinkToHelper(Router router, Env env) {
this.router = router;
this.env = env;
     }
 
Example #11
Source File: CORSController.java    From aprendendo-vraptor with Apache License 2.0 4 votes vote down vote up
@Inject
public CORSController(Result result, Router router) {
	this.result = result;
	this.router = router;
}
 
Example #12
Source File: DefaultControllerTranslator.java    From vraptor4 with Apache License 2.0 4 votes vote down vote up
@Inject
public DefaultControllerTranslator(Router router) {
	this.router = router;
}