org.restlet.data.Request.isConfidential()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(91)

本文整理了Java中org.restlet.data.Request.isConfidential方法的一些代码示例,展示了Request.isConfidential的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.isConfidential方法的具体详情如下:
包路径:org.restlet.data.Request
类名称:Request
方法名:isConfidential

Request.isConfidential介绍

[英]Implemented based on the Protocol#isConfidential() method for the request's protocol returned by #getProtocol();
[中]基于#getProtocol()返回的请求协议的#isConfidential()方法实现;

代码示例

代码示例来源:origin: org.restlet/org.restlet

@Override
public boolean isConfidential() {
  return getRequest().isConfidential();
}

代码示例来源:origin: org.restlet/org.restlet

/**
 * Indicates if the call came over a confidential channel such as an
 * SSL-secured connection.
 * 
 * @return True if the call came over a confidential channel.
 */
@Override
public boolean isConfidential() {
  return getWrappedRequest().isConfidential();
}

代码示例来源:origin: org.restlet/org.restlet

if (variableName.equals("c")) {
  result = Boolean
      .toString(this.request.isConfidential());
} else if (variableName.equals("cia")) {
  result = this.request.getClientInfo().getAddress();

代码示例来源:origin: org.sonatype.nexus.plugins/nexus-restlet1x-plugin

if (request.isConfidential()) {
 result.getRequestContext().put(AccessManager.REQUEST_CONFIDENTIAL, Boolean.TRUE);

代码示例来源:origin: org.sonatype.nexus.plugins/nexus-restlet1x-plugin

if (request.isConfidential()) {
 result.getRequestContext().put(AccessManager.REQUEST_CONFIDENTIAL, Boolean.TRUE);

代码示例来源:origin: org.sonatype.nexus/nexus-rest-api

if ( request.isConfidential() )

代码示例来源:origin: org.sonatype.nexus/nexus-rest-api

if ( request.isConfidential() )

相关文章