org.mockserver.model
Class BinaryBody

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<byte[]>
                  extended by org.mockserver.model.BinaryBody

public class BinaryBody
extends Body<byte[]>

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
BinaryBody(byte[] bytes)
           
 
Method Summary
static BinaryBody binary(byte[] body)
           
 byte[] getRawBytes()
           
 byte[] getValue()
           
 String toString()
           
 
Methods inherited from class org.mockserver.model.Body
getCharset, getContentType, getType
 
Methods inherited from class org.mockserver.model.Not
getNot, isNot, not, not, setNot
 
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

BinaryBody

public BinaryBody(byte[] bytes)
Method Detail

binary

public static BinaryBody binary(byte[] body)

getValue

public byte[] getValue()
Specified by:
getValue in class Body<byte[]>

getRawBytes

public byte[] getRawBytes()
Overrides:
getRawBytes in class Body<byte[]>

toString

public String toString()
Overrides:
toString in class ObjectWithJsonToString


Copyright © 2016. All rights reserved.