org.apache.james.jdkim.impl
Class MultiplexingPublicKeyRecordRetriever
java.lang.Object
org.apache.james.jdkim.impl.MultiplexingPublicKeyRecordRetriever
- All Implemented Interfaces:
- PublicKeyRecordRetriever
public class MultiplexingPublicKeyRecordRetriever
- extends Object
- implements PublicKeyRecordRetriever
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiplexingPublicKeyRecordRetriever
public MultiplexingPublicKeyRecordRetriever()
MultiplexingPublicKeyRecordRetriever
public MultiplexingPublicKeyRecordRetriever(String methodName,
PublicKeyRecordRetriever pkrr)
addRetriever
public void addRetriever(String methodName,
PublicKeyRecordRetriever pkrr)
getRecords
public List getRecords(CharSequence methodAndOption,
CharSequence selector,
CharSequence token)
throws TempFailException,
PermFailException
- Specified by:
getRecords
in interface PublicKeyRecordRetriever
- Parameters:
methodAndOption
- the options declared for the lookup method.selector
- the value of "s=" tagtoken
- the value of the "d=" tag
- Returns:
- A list of strings representing 0 to multiple records
- Throws:
TempFailException
- in case of timeout and other network errors.
PermFailException
- in case of unsupported options
Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.