public class AddReferralHandler extends AbstractReferralHandler<AddRequest,Void>
DEFAULT_CONNECTION_FACTORY, DEFAULT_REFERRAL_LIMIT, logger
Modifier | Constructor and Description |
---|---|
|
AddReferralHandler()
Creates a new add referral handler.
|
|
AddReferralHandler(int limit)
Creates a new add referral handler.
|
private |
AddReferralHandler(int limit,
int depth,
ReferralConnectionFactory factory)
Creates a new add referral handler.
|
|
AddReferralHandler(int limit,
ReferralConnectionFactory factory)
Creates a new add referral handler.
|
|
AddReferralHandler(ReferralConnectionFactory factory)
Creates a new add referral handler.
|
Modifier and Type | Method and Description |
---|---|
protected Operation<AddRequest,Void> |
createReferralOperation(Connection conn)
Creates an operation for this type of referral.
|
protected AddRequest |
createReferralRequest(AddRequest request,
LdapURL url)
Creates a new request for this type of referral.
|
followReferral, getReferralConnectionFactory, getReferralDepth, getReferralLimit, handle, handle, initializeRequest
public AddReferralHandler()
public AddReferralHandler(ReferralConnectionFactory factory)
factory
- referral connection factorypublic AddReferralHandler(int limit)
limit
- number of referrals to followpublic AddReferralHandler(int limit, ReferralConnectionFactory factory)
limit
- number of referrals to followfactory
- referral connection factoryprivate AddReferralHandler(int limit, int depth, ReferralConnectionFactory factory)
limit
- number of referrals to followdepth
- number of referrals followedfactory
- referral connection factoryprotected AddRequest createReferralRequest(AddRequest request, LdapURL url)
AbstractReferralHandler
createReferralRequest
in class AbstractReferralHandler<AddRequest,Void>
request
- of the original operationurl
- of the referralprotected Operation<AddRequest,Void> createReferralOperation(Connection conn)
AbstractReferralHandler
createReferralOperation
in class AbstractReferralHandler<AddRequest,Void>
conn
- to execute the operation onCopyright © 2003-2019 Virginia Tech. All Rights Reserved.