@Test void testFilterLinkFromConfiguration() { final MementoResource mr = new MementoResource(null, false); final Link link = fromUri("http: .param(DATETIME, ofInstant(now(), UTC).format(RFC_1123_DATE_TIME)).build(); assertFalse(mr.filterLinkParams(link).getParams().containsKey(DATETIME)); }
public Link filterLinkParams(final Link link) { return filterLinkParams(link, !includeMementoDates); }
MementoResource { public Link filterLinkParams(final Link link) { return filterLinkParams(link, !includeMementoDates); } }
MementoResource { public Link filterLinkParams(final Link link) { return filterLinkParams(link, !includeMementoDates); } MementoResource(final ServiceBundler trellis, final boolean includeMementoDates); }
MementoResource { public Link filterLinkParams(final Link link) { return filterLinkParams(link, !includeMementoDates); } MementoResource(final ServiceBundler trellis, final boolean includeMementoDates); ResponseBuilder getTimeMapBuilder(final SortedSet<Instant> mementos, final TrellisRequest req,
            final String baseUrl); ResponseBuilder getTimeGateBuilder(final SortedSet<Instant> mementos, final TrellisRequest req,
            final String baseUrl); Link filterLinkParams(final Link link); static Stream<Link> getMementoLinks(final String identifier, final SortedSet<Instant> mementos); static Stream<Link> getMementoHeaders(final String identifier, final SortedSet<Instant> mementos,
            final Instant time); static Stream<Link> getMementoHeaders(final String identifier, final SortedSet<Instant> mementos); static Link filterLinkParams(final Link link, final boolean filter); static Link mementoToLink(final String identifier, final Instant time, final List<String> rels); }
MementoResource { public Link filterLinkParams(final Link link) { return filterLinkParams(link, !includeMementoDates); } MementoResource(final ServiceBundler trellis, final boolean includeMementoDates); ResponseBuilder getTimeMapBuilder(final SortedSet<Instant> mementos, final TrellisRequest req,
            final String baseUrl); ResponseBuilder getTimeGateBuilder(final SortedSet<Instant> mementos, final TrellisRequest req,
            final String baseUrl); Link filterLinkParams(final Link link); static Stream<Link> getMementoLinks(final String identifier, final SortedSet<Instant> mementos); static Stream<Link> getMementoHeaders(final String identifier, final SortedSet<Instant> mementos,
            final Instant time); static Stream<Link> getMementoHeaders(final String identifier, final SortedSet<Instant> mementos); static Link filterLinkParams(final Link link, final boolean filter); static Link mementoToLink(final String identifier, final Instant time, final List<String> rels);  }