本文整理了Java中org.restlet.data.Request.isConfidential
方法的一些代码示例,展示了Request.isConfidential
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.isConfidential
方法的具体详情如下:
包路径:org.restlet.data.Request
类名称: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() )
内容来源于网络,如有侵权,请联系作者删除!