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