类 LoginServiceImpl
- java.lang.Object
-
- top.xcphoenix.jfjw.service.BaseService
-
- top.xcphoenix.jfjw.service.core.impl.LoginServiceImpl
-
- 所有已实现的接口:
LoginService
public class LoginServiceImpl extends BaseService implements LoginService
- 版本:
- 1.0
- 作者:
- xuanc
-
-
字段概要
-
从类继承的字段 top.xcphoenix.jfjw.service.BaseService
context, domain, httpClient, urlManager
-
-
构造器概要
构造器 构造器 说明 LoginServiceImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected booleanisNeedLogin(org.apache.http.client.methods.CloseableHttpResponse response)LoginStatuslogin(User user)登录protected LoginData.CovertDatasendIndex(User user)protected LoginStatussendLogin(LoginData.CovertData covertData)-
从类继承的方法 top.xcphoenix.jfjw.service.BaseService
getErrLoginStatus, getResp, init
-
-
-
-
方法详细资料
-
login
public LoginStatus login(User user) throws LoginException
从接口复制的说明:LoginService登录- 指定者:
login在接口中LoginService- 参数:
user- 用户信息- 返回:
- 登录状态
- 抛出:
LoginException- URL错误或网络错误
-
sendIndex
protected LoginData.CovertData sendIndex(User user) throws LoginException
- 抛出:
LoginException
-
sendLogin
protected LoginStatus sendLogin(LoginData.CovertData covertData) throws LoginException
- 抛出:
LoginException
-
isNeedLogin
protected boolean isNeedLogin(org.apache.http.client.methods.CloseableHttpResponse response)
- 覆盖:
isNeedLogin在类中BaseService
-
-