@RestController @ConditionalOnWebApplication public class RootController extends BaseController
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
CAPTCHA
验证码httpSession参数名
|
BASE_NAME, ID_URI| 构造器和说明 |
|---|
RootController() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
captcha(javax.servlet.http.HttpSession httpSession,
javax.servlet.http.HttpServletResponse response)
验证码
|
java.lang.Object |
pinyin(java.lang.String[] word)
拼音
|
java.lang.Object |
showlog(int index)
查看日志
|
getDefaultPageable, getDefaultPageable, getDeviceInfo, getOldModel, getRealPath, getText, getTextDefaultNull, getUserAgent, hasParameter, hasParameterKey, setRelatedProperty, versionEndsWith, versionEqualscacheControl, created, getBaseLinkBuilder, getEntitySelfLink, getId, getPersistentEntity, noCache, noCache, noContent, ok, prepareHeaders, updatedpublic static final java.lang.String CAPTCHA
@ApiSign
@RequestMapping(value="/utils/pinyin",
method=GET)
public java.lang.Object pinyin(java.lang.String[] word)
word - word@RequestMapping(value="/logs/{index}",
method=GET,
produces={"text/html","text/plain"})
public java.lang.Object showlog(@PathVariable
int index)
throws java.io.IOException,
javax.servlet.ServletException
index - 页码java.io.IOException - IOExceptionjavax.servlet.ServletException - ServletException@RequestMapping(value="/utils/captcha",
method=GET)
public void captcha(javax.servlet.http.HttpSession httpSession,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
httpSession - httpSessionresponse - responsejava.io.IOException - IOException