public class JsonSchemaTransformer extends Object implements Transformer
Constructor and Description |
---|
JsonSchemaTransformer() |
Modifier and Type | Method and Description |
---|---|
static void |
escapeSchema(org.bson.BsonDocument schema) |
void |
transform(io.undertow.server.HttpServerExchange exchange,
RequestContext context,
org.bson.BsonValue contentToTransform,
org.bson.BsonValue args)
contentToTransform can be directly manipulated or
RequestContext.setResponseContent(BsonValue value) for response phase and
RequestContext.setContent(BsonValue value) for request phase can be used
|
static void |
unescapeSchema(org.bson.BsonDocument schema) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
transform
public static void escapeSchema(org.bson.BsonDocument schema)
public static void unescapeSchema(org.bson.BsonDocument schema)
public void transform(io.undertow.server.HttpServerExchange exchange, RequestContext context, org.bson.BsonValue contentToTransform, org.bson.BsonValue args)
Transformer
transform
in interface Transformer
exchange
- the server exchangecontext
- the request contextcontentToTransform
- the content data to transformargs
- the args sepcified in the collection metadata via args
property propertyCopyright © 2014–2019 SoftInstigate. All rights reserved.