public class ApacheLdapControlHandler extends Object implements ControlHandler<org.apache.directory.api.ldap.model.message.Control>
Constructor and Description |
---|
ApacheLdapControlHandler() |
Modifier and Type | Method and Description |
---|---|
Class<org.apache.directory.api.ldap.model.message.Control> |
getControlType()
Returns the type of control that is handled.
|
String |
getOID(org.apache.directory.api.ldap.model.message.Control control)
Returns the OID of the supplied control.
|
org.apache.directory.api.ldap.model.message.Control |
handleRequest(RequestControl requestControl)
Converts the supplied control to a provider specific request control.
|
ResponseControl |
handleResponse(org.apache.directory.api.ldap.model.message.Control responseControl)
Converts the supplied provider control to a response control.
|
public Class<org.apache.directory.api.ldap.model.message.Control> getControlType()
ControlHandler
getControlType
in interface ControlHandler<org.apache.directory.api.ldap.model.message.Control>
public String getOID(org.apache.directory.api.ldap.model.message.Control control)
ControlHandler
getOID
in interface ControlHandler<org.apache.directory.api.ldap.model.message.Control>
control
- to return oid forpublic org.apache.directory.api.ldap.model.message.Control handleRequest(RequestControl requestControl)
ControlHandler
handleRequest
in interface ControlHandler<org.apache.directory.api.ldap.model.message.Control>
requestControl
- to convertpublic ResponseControl handleResponse(org.apache.directory.api.ldap.model.message.Control responseControl)
ControlHandler
handleResponse
in interface ControlHandler<org.apache.directory.api.ldap.model.message.Control>
responseControl
- to convertCopyright © 2003-2019 Virginia Tech. All Rights Reserved.