
wee0.user.IUser Maven / Gradle / Ivy
The newest version!
/**
* Copyright (c) 2016-2022, wee0.com.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package wee0.user;
import wee0.core.IBindings;
/**
* 用户视图对象。
* @author baihw
* @date 2018年1月26日
**/
/**
*
* examples:
*
**/
public interface IUser{
/**
* 获取当前请求唯一标识。
*
* @return 当前请求唯一标识。
*/
public String getRequestId();
/**
* 获取当前请求用户唯一标识。
*
* @return 当前请求用户唯一标识。
*/
public String getRequestUser();
/**
* 获取当前请求的客户端IP。
*
* @return 当前请求的客户端IP。
*/
public String getClientIP();
/**
* 获取当前请求的客户端设备信息。
*
* @return 当前请求的客户端设备信息。
*/
public String getClientDevice();
/**
* 获取当前用户环境的绑定数据。
*
* @return 当前用户环境的绑定数据。
*/
public IBindings getBindings();
} // end class
© 2015 - 2025 Weber Informatics LLC | Privacy Policy