@Controller public class FormsController extends Object
Controller which handles the redirects needed for edoras forms in the edoras vis forms preview.
| Constructor and Description |
|---|
FormsController() |
| Modifier and Type | Method and Description |
|---|---|
void |
formDefinitions(String id,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Redirects the /formDefinitions edoras forms REST endpoint to the edoras vis endpoints.
|
void |
formModels(String id,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Redirects the /formModels edoras forms REST endpoint to the edoras vis endpoints.
|
@RequestMapping(value="/formDefinitions/{id}",
method=GET)
@ResponseBody
public void formDefinitions(@PathVariable
String id,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
Redirects the /formDefinitions edoras forms REST endpoint to the edoras vis endpoints.
id - the id of the form to showrequest - the http servlet request.response - the http servlet responseIOException - if there is an error in the redirect@RequestMapping(value="/formModels/{id}",
method=GET)
@ResponseBody
public void formModels(@PathVariable
String id,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
Redirects the /formModels edoras forms REST endpoint to the edoras vis endpoints.
id - the id of the form to showrequest - the http servlet requestresponse - the http servlet responseIOException - if there is an error in the redirectCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.