public static final class SnapshotResolver.Builder extends Object
SnapshotResolver instances.| Modifier and Type | Method and Description |
|---|---|
SnapshotResolver |
build()
Return a configured snapshot resolver instance.
|
SnapshotResolver.Builder |
withCanonicalBase(URI base)
Define the canonical base URI to be used for the resolution of
endpoints.
|
SnapshotResolver.Builder |
withReadSession(ReadSession session)
Define the session to be used for the resolution of resource
snapshots.
|
public SnapshotResolver.Builder withCanonicalBase(URI base)
base - the canonical base URI.public SnapshotResolver.Builder withReadSession(ReadSession session)
session - the sessionpublic SnapshotResolver build()
NullPointerException - if the canonical base URI or the session are null.IllegalArgumentException - if the canonical base URI is not hierarchical and
absolute.
Copyright (C) 2014-2016, Center for Open Middleware