public class PathAliasController extends Object implements org.springframework.web.servlet.mvc.Controller
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH_PREFIX |
| Constructor and Description |
|---|
PathAliasController() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
forward(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path) |
static String |
getAlias() |
String |
getAliasPrefix() |
static String |
getOriginalPrefix() |
static String |
getPath(String path) |
String |
getPrefix() |
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setAliasPrefix(String aliasPrefix) |
void |
setPrefix(String prefix) |
public static final String PATH_PREFIX
public static boolean forward(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String path)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic static String getAlias()
public static String getOriginalPrefix()
public String getAliasPrefix()
public String getPrefix()
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
handleRequest in interface org.springframework.web.servlet.mvc.ControllerExceptionpublic void setAliasPrefix(String aliasPrefix)
public void setPrefix(String prefix)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.