org.apache.directory.server.ldap
Class LdapProtocolUtils
java.lang.Object
org.apache.directory.server.ldap.LdapProtocolUtils
- All Implemented Interfaces:
- LdapProtocolConstants
public class LdapProtocolUtils
- extends java.lang.Object
- implements LdapProtocolConstants
Utility methods used by the LDAP protocol service.
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LdapProtocolUtils
public LdapProtocolUtils()
setRequestControls
public static void setRequestControls(OperationContext opContext,
org.apache.directory.shared.ldap.message.internal.InternalRequest request)
throws java.lang.Exception
- Extracts request controls from a request to populate into an
OperationContext.
- Parameters:
opContext
- the context to populate with request controlsrequest
- the request to extract controls from
- Throws:
java.lang.Exception
setResponseControls
public static void setResponseControls(OperationContext opContext,
org.apache.directory.shared.ldap.message.internal.InternalResponse response)
throws java.lang.Exception
- Extracts response controls from a an OperationContext to populate into
a Response object.
- Parameters:
opContext
- the context to extract controls fromresponse
- the response to populate with response controls
- Throws:
java.lang.Exception
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.