Class ResourceRequestLog

  • All Implemented Interfaces:
    java.lang.Iterable<Exchange>

    public class ResourceRequestLog
    extends ReaderRequestLog
    Request log implementation fetching a request log resource containing JSON lines as written by the log filter.
    Author:
    https://github.com/lbovet [Laurent Bovet]
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceRequestLog​(java.lang.String urlPrefix, java.lang.String location)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.io.Reader getReader()  
      • Methods inherited from class com.google.common.collect.FluentIterable

        allMatch, anyMatch, append, append, concat, concat, concat, concat, concat, contains, copyInto, cycle, filter, filter, first, firstMatch, from, from, from, get, index, isEmpty, join, last, limit, of, of, of, size, skip, stream, toArray, toList, toMap, toMultiset, toSet, toSortedList, toSortedSet, toString, transform, transformAndConcat, uniqueIndex
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • ResourceRequestLog

        public ResourceRequestLog​(java.lang.String urlPrefix,
                                  java.lang.String location)
        Parameters:
        urlPrefix - an absolute URL prefix to prepend to all request URL.
        location - a resource location following Spring's conventions (file path, URL, classpath:, ...).