|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.ldap.LdapProtocolUtils
public class LdapProtocolUtils
Utility methods used by the LDAP protocol service.
| Field Summary |
|---|
| Fields inherited from interface org.apache.directory.server.ldap.LdapProtocolConstants |
|---|
CORE_SESSION_KEY, EMPTY_CONTROLS, OUTSTANDING_KEY |
| Constructor Summary | |
|---|---|
LdapProtocolUtils()
|
|
| Method Summary | |
|---|---|
static void |
setRequestControls(OperationContext opContext,
org.apache.directory.shared.ldap.message.InternalRequest request)
Extracts request controls from a request to populate into an OperationContext. |
static void |
setResponseControls(OperationContext opContext,
org.apache.directory.shared.ldap.message.InternalResponse response)
Extracts response controls from a an OperationContext to populate into a Response object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapProtocolUtils()
| Method Detail |
|---|
public static void setRequestControls(OperationContext opContext,
org.apache.directory.shared.ldap.message.InternalRequest request)
throws java.lang.Exception
opContext - the context to populate with request controlsrequest - the request to extract controls from
java.lang.Exception
public static void setResponseControls(OperationContext opContext,
org.apache.directory.shared.ldap.message.InternalResponse response)
throws java.lang.Exception
opContext - the context to extract controls fromresponse - the response to populate with response controls
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||