我的api端点定义如下
@Api (name = "auth", version = "1")
public class AuthenticationEndpoint {
@ApiMethod
public AuthResult Register (@Named ("email") String email, @Named ("password") String pass) {
// TODO: do something with the user agent here
}
}
有没有办法在我的Register方法中访问用户代理?
由于