| 构造器和说明 |
|---|
CasService() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
doGetRequest(String url) |
byte[] |
doPostRequest(String url,
List<org.apache.http.NameValuePair> postParams) |
Boolean |
loginCas(String username,
String password) |
void |
loginOutCas(String casLogoutUrl) |
public Boolean loginCas(String username, String password) throws IOException
username - 用户名password - 密码IOExceptionpublic void loginOutCas(String casLogoutUrl) throws Exception
casLogoutUrl - cas登出地址Exceptionpublic byte[] doGetRequest(String url) throws IOException
url - url地址IOExceptionpublic byte[] doPostRequest(String url, List<org.apache.http.NameValuePair> postParams) throws IOException
url - 页面地址IOExceptionCopyright © 2015–2016 cn.gtmap. All rights reserved.