Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.42 KB

File metadata and controls

18 lines (14 loc) · 1.42 KB

shapetrees-java-core

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 interface DocumentContentLoader which is used when shape tree or shape schema resources are required for processing. The default implementation HttpDocumentContentsLoader provides 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.