3.13. Response Handler#

Note

This page is under construction.

Plugin Key

plugin_cache_result_list

Plugin Value Type

List of String

The list represents a mapping; each string is of the form x=y, mapping from the left-hand side x which can be:

  • An HTTP response code (integer).

  • One of a finite set of Java exceptions (string).

to the right-hand side y which can be:

  • The fully-qualified name of a Java class extending the org.lockss.util.urlconn.CacheException class.

  • The fully-qualified name of a Java class implementing the org.lockss.util.urlconn.CacheResultHandler interface.

Sample
<entry>
  <string>plugin_cache_result_list</string>
  <list>
    <string>500=edu.example.plugin.publisherx.PublisherXHttpResponseHandler</string>
    <string>java.io.IOException=org.lockss.util.urlconn.CacheException$RetryableNetworkException_3_30S</string>
  </list>
</entry>