public class JndiControlHandler extends java.lang.Object implements ControlHandler<javax.naming.ldap.Control>
| Constructor and Description |
|---|
JndiControlHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<javax.naming.ldap.Control> |
getControlType()
Returns the type of control that is handled.
|
java.lang.String |
getOID(javax.naming.ldap.Control control)
Returns the OID of the supplied control.
|
javax.naming.ldap.Control |
handleRequest(RequestControl requestControl)
Converts the supplied control to a provider specific request control.
|
ResponseControl |
handleResponse(javax.naming.ldap.Control responseControl)
Converts the supplied provider control to a response control.
|
public java.lang.Class<javax.naming.ldap.Control> getControlType()
ControlHandlergetControlType in interface ControlHandler<javax.naming.ldap.Control>public java.lang.String getOID(javax.naming.ldap.Control control)
ControlHandlergetOID in interface ControlHandler<javax.naming.ldap.Control>control - to return oid forpublic javax.naming.ldap.Control handleRequest(RequestControl requestControl)
ControlHandlerhandleRequest in interface ControlHandler<javax.naming.ldap.Control>requestControl - to convertpublic ResponseControl handleResponse(javax.naming.ldap.Control responseControl)
ControlHandlerhandleResponse in interface ControlHandler<javax.naming.ldap.Control>responseControl - to convert