shapetrees-java-core provides the core classes to perform shape tree validation in either client or server-side applications.
Below is a high-level description of the packages in this module to guide exploration of specific classes:
-
contentloaders- this package contains an interfaceDocumentContentLoaderwhich is used when shape tree or shape schema resources are required for processing. The default implementationHttpDocumentContentsLoaderprovides a loader which retrieves these resources from the public web but first checks the requested URI against a configured white and/or black list of hosts. -
methodhandlers- this package contains classes which validation standard HTTP methods (GET, POST, PUT, PATCH, DELETE) according to the shape tree specification. To see an example of how these method handlers can be invoked, see the sample client implementation.