本文整理了Java中org.apache.directory.ldap.client.api.LdapConnection.getSupportedControls()
方法的一些代码示例,展示了LdapConnection.getSupportedControls()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LdapConnection.getSupportedControls()
方法的具体详情如下:
包路径:org.apache.directory.ldap.client.api.LdapConnection
类名称:LdapConnection
方法名:getSupportedControls
[英]Get the Controls supported by server.
[中]获取服务器支持的控件。
代码示例来源:origin: org.apache.directory.api/api-ldap-client-all
/**
* {@inheritDoc}
*/
@Override
public List<String> getSupportedControls() throws LdapException
{
return connection.getSupportedControls();
}
代码示例来源:origin: org.apache.directory.api/api-ldap-client-api
/**
* {@inheritDoc}
*/
@Override
public List<String> getSupportedControls() throws LdapException
{
return connection.getSupportedControls();
}
代码示例来源:origin: org.apache.directory.api/api-all
/**
* {@inheritDoc}
*/
@Override
public List<String> getSupportedControls() throws LdapException
{
return connection.getSupportedControls();
}
代码示例来源:origin: org.apache.directory.client.ldap/ldap-client-api
/**
* checks if a control with the given OID is supported
*
* @param controlOID the OID of the control
* @return true if the control is supported, false otherwise
*/
public boolean isControlSupported( String controlOID ) throws LdapException
{
return getSupportedControls().contains( controlOID );
}
内容来源于网络,如有侵权,请联系作者删除!