Class OkHttpResourceAccessor

java.lang.Object
com.janeirodigital.shapetrees.client.okhttp.OkHttpResourceAccessor
All Implemented Interfaces:
ResourceAccessor

public class OkHttpResourceAccessor extends Object implements ResourceAccessor
Allows the shapetrees-core to access ManageableInstances and InstanceResources over the network via HTTP. This is particularly effective when employing client-side shape-tree validation in a proxy scenario.

Given the fact that resources are accessed via HTTP, some inferences must be made on resource state based on responses to HTTP requests.