Package org.apache.james.jdkim.impl
Class HttpPublicKeyRecordRetriever
- java.lang.Object
-
- org.apache.james.jdkim.impl.HttpPublicKeyRecordRetriever
-
- All Implemented Interfaces:
PublicKeyRecordRetriever
public class HttpPublicKeyRecordRetriever extends Object implements PublicKeyRecordRetriever
Allows retrieval of the
-
-
Constructor Summary
Constructors Constructor Description HttpPublicKeyRecordRetriever()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getRecords(CharSequence methodAndOptions, CharSequence selector, CharSequence token)
-
-
-
Method Detail
-
getRecords
public List<String> getRecords(CharSequence methodAndOptions, CharSequence selector, CharSequence token) throws TempFailException, PermFailException
- Specified by:
getRecords
in interfacePublicKeyRecordRetriever
- Parameters:
methodAndOptions
- 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- See Also:
PublicKeyRecordRetriever.getRecords(java.lang.CharSequence, java.lang.CharSequence, java.lang.CharSequence)
-
-