请教request.isSecure()什么意思?if(request.isSecure()) {}用在if判断语句里又起什么作用?

解决方案 »

  1.   

    boolean isSecure()Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS. Returns:
    a boolean indicating if the request was made using a secure channel
      

  2.   

    public boolean isSecure()     表示请求是否使用安全协议(如HTTPS) 
      

  3.   

    返回一个 boolean 值,指示此请求是否是使用安全通道(比如 HTTPS)发出的。
    return 指示请求是否是使用安全通道发出的 boolean 值
      

  4.   

    返回一个 boolean 值,指示此请求是否是使用安全通道(比如 HTTPS)发出的。
    return 指示请求是否是使用安全通道发出的 boolean 值
    每天回帖是一种美德....