Class DefaultJsonSchemaLoader
- java.lang.Object
-
- org.apache.camel.component.jsonvalidator.DefaultJsonSchemaLoader
-
- All Implemented Interfaces:
JsonSchemaLoader
@Deprecated public class DefaultJsonSchemaLoader extends Object implements JsonSchemaLoader
Deprecated.use DefaultJsonUriSchemaLoader instead
-
-
Constructor Summary
Constructors Constructor Description DefaultJsonSchemaLoader()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.networknt.schema.JsonSchemacreateSchema(org.apache.camel.CamelContext camelContext, InputStream inputStream)Deprecated.
-
-
-
Method Detail
-
createSchema
@Deprecated public com.networknt.schema.JsonSchema createSchema(org.apache.camel.CamelContext camelContext, InputStream inputStream) throws Exception
Deprecated.Description copied from interface:JsonSchemaLoaderCreate a new Schema based on the schema input stream.- Specified by:
createSchemain interfaceJsonSchemaLoader- Parameters:
camelContext- camel contextinputStream- the resource input stream- Returns:
- a Schema to be used when validating incoming requests
- Throws:
Exception
-
-