I'm new to Drop Wizard, and would like to redirect from a server side view to another url in my app.
Does DropWizard wrap up this common task somehow?
e.g.
@GET
public View getView(@Context HttpServletRequest req)
{
View view = new View();
if (somethingBad)
{
// code here to redirect to another url, eg /bad_data
}
else
{
return view;
}
}