org.mockserver.model
Class JsonSchemaBody

java.lang.Object
  extended by org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
      extended by org.mockserver.model.ObjectWithJsonToString
          extended by org.mockserver.model.Not
              extended by org.mockserver.model.Body
                  extended by org.mockserver.model.JsonSchemaBody

public class JsonSchemaBody
extends Body

Author:
jamesdbloom

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mockserver.model.Body
Body.Type
 
Field Summary
 
Fields inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
logger
 
Constructor Summary
JsonSchemaBody(String jsonSchema)
           
 
Method Summary
 String getValue()
           
static JsonSchemaBody jsonSchema(String jsonSchema)
           
static JsonSchemaBody jsonSchemaFromResource(String jsonSchemaPath)
           
 
Methods inherited from class org.mockserver.model.Body
getCharset, getContentType, getRawBytes, getType
 
Methods inherited from class org.mockserver.model.Not
getNot, isNot, not, not, setNot
 
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
 
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
addFieldsExcludedFromEqualsAndHashCode, equals, fieldsExcludedFromEqualsAndHashCode, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JsonSchemaBody

public JsonSchemaBody(String jsonSchema)
Method Detail

jsonSchema

public static JsonSchemaBody jsonSchema(String jsonSchema)

jsonSchemaFromResource

public static JsonSchemaBody jsonSchemaFromResource(String jsonSchemaPath)

getValue

public String getValue()
Specified by:
getValue in class Body


Copyright © 2015. All rights reserved.