Class SchemaStoreURL
- java.lang.Object
-
- org.restheart.mongodb.handlers.schema.SchemaStoreURL
-
public class SchemaStoreURL extends Object
if the id of the schema is a valid SchemaStoreURL it can be loaded from the schema store (querying mongodb with caching and avoiding the http overhead) the format is: http://schema-store/schemaStoreDb/schemaId schemaId refers to the mongodb _id and not to the id property- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
-
Field Summary
Fields Modifier and Type Field Description static StringSCHEMA_STORE_URL_PREFIX
-
Constructor Summary
Constructors Constructor Description SchemaStoreURL(String url)SchemaStoreURL(String schemaDb, org.bson.BsonValue schemaId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSchemaDb()org.bson.BsonValuegetSchemaId()static booleanisValid(String url)StringtoString()
-
-
-
Field Detail
-
SCHEMA_STORE_URL_PREFIX
public static final String SCHEMA_STORE_URL_PREFIX
- See Also:
- Constant Field Values
-
-