public class ModifyReferralHandler extends AbstractReferralHandler<ModifyRequest,Void>
DEFAULT_CONNECTION_FACTORY, DEFAULT_REFERRAL_LIMIT, logger
Constructor and Description |
---|
ModifyReferralHandler()
Creates a new modify referral handler.
|
ModifyReferralHandler(int limit)
Creates a new modify referral handler.
|
ModifyReferralHandler(int limit,
ReferralConnectionFactory factory)
Creates a new modify referral handler.
|
ModifyReferralHandler(ReferralConnectionFactory factory)
Creates a new modify referral handler.
|
Modifier and Type | Method and Description |
---|---|
protected Operation<ModifyRequest,Void> |
createReferralOperation(Connection conn)
Creates an operation for this type of referral.
|
protected ModifyRequest |
createReferralRequest(ModifyRequest request,
LdapURL url)
Creates a new request for this type of referral.
|
followReferral, getReferralConnectionFactory, getReferralDepth, getReferralLimit, handle, handle, initializeRequest
public ModifyReferralHandler()
public ModifyReferralHandler(ReferralConnectionFactory factory)
factory
- referral connection factorypublic ModifyReferralHandler(int limit)
limit
- number of referrals to followpublic ModifyReferralHandler(int limit, ReferralConnectionFactory factory)
limit
- number of referrals to followfactory
- referral connection factoryprotected ModifyRequest createReferralRequest(ModifyRequest request, LdapURL url)
AbstractReferralHandler
createReferralRequest
in class AbstractReferralHandler<ModifyRequest,Void>
request
- of the original operationurl
- of the referralprotected Operation<ModifyRequest,Void> createReferralOperation(Connection conn)
AbstractReferralHandler
createReferralOperation
in class AbstractReferralHandler<ModifyRequest,Void>
conn
- to execute the operation onCopyright © 2016. All rights reserved.