public class LdapProtocolUtils extends Object implements LdapProtocolConstants
CORE_SESSION_KEY, EMPTY_CONTROLS, OUTSTANDING_KEY
Constructor and Description |
---|
LdapProtocolUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
setRequestControls(OperationContext opContext,
org.apache.directory.shared.ldap.message.internal.InternalRequest request)
Extracts request controls from a request to populate into an
OperationContext.
|
static void |
setResponseControls(OperationContext opContext,
org.apache.directory.shared.ldap.message.internal.InternalResponse response)
Extracts response controls from a an OperationContext to populate into
a Response object.
|
public static void setRequestControls(OperationContext opContext, org.apache.directory.shared.ldap.message.internal.InternalRequest request) throws Exception
opContext
- the context to populate with request controlsrequest
- the request to extract controls fromException
public static void setResponseControls(OperationContext opContext, org.apache.directory.shared.ldap.message.internal.InternalResponse response) throws Exception
opContext
- the context to extract controls fromresponse
- the response to populate with response controlsException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.