public class TestController extends Object
Constructor and Description |
---|
TestController() |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
abtest(HttpRequest request) |
HttpResponse |
bean(User user,
HttpRequest request) |
HttpResponse |
filetest_zip(HttpRequest request) |
HttpResponse |
filetest(HttpRequest request) |
HttpResponse |
getsession(HttpRequest request) |
HttpResponse |
html(HttpRequest request) |
HttpResponse |
json(HttpRequest request) |
static void |
main(String[] args) |
HttpResponse |
plain(String before,
String end,
HttpRequest request) |
HttpResponse |
post(String before,
String end,
HttpRequest request) |
HttpResponse |
putsession(String value,
HttpRequest request) |
HttpResponse |
txt(HttpRequest request) |
HttpResponse |
upload(UploadFile uploadFile,
String before,
String end,
HttpRequest request)
上传文件测试
|
public static void main(String[] args)
args
- public HttpResponse abtest(HttpRequest request) throws Exception
Exception
public HttpResponse bean(User user, HttpRequest request) throws Exception
Exception
public HttpResponse filetest(HttpRequest request) throws Exception
Exception
public HttpResponse filetest_zip(HttpRequest request) throws Exception
Exception
public HttpResponse getsession(HttpRequest request) throws Exception
Exception
public HttpResponse html(HttpRequest request) throws Exception
Exception
public HttpResponse json(HttpRequest request) throws Exception
Exception
public HttpResponse plain(String before, String end, HttpRequest request) throws Exception
Exception
public HttpResponse post(String before, String end, HttpRequest request) throws Exception
Exception
public HttpResponse putsession(String value, HttpRequest request) throws Exception
Exception
public HttpResponse txt(HttpRequest request) throws Exception
Exception
public HttpResponse upload(UploadFile uploadFile, String before, String end, HttpRequest request) throws Exception
uploadFile
- request
- config
- channelContext
- Exception
Copyright © 2018. All rights reserved.