Package org.restheart.mongodb.interceptors


package org.restheart.mongodb.interceptors
  • Classes
    Class
    Description
     
    Injects the collection properties into the Request It is also responsible of sending NOT_FOUND in case of requests involving not existing collections (that are not PUT)
     
    Injects the db properties into the MongoRequest It is also responsible of sending NOT_FOUND in case of requests involving not existing dbs (that are not PUT)
    detects the file content type using Tika
    Checks documents according to the specified JSON schema This intercetor is able to check PATCH requests (excluding bulk PATCH).
    Checks documents according to the specified JSON schema This intercetor is able to check PUT and POST requests that don't use update operators.
    Caches for db and collection metadata
    The response of GET / and GET /db is an array of documents This flattens the reponse in an array of strings (names of dbs and of collections respectiverly)