
org.mockserver.model.BinaryMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockserver-core Show documentation
Show all versions of mockserver-core Show documentation
Functionality used by all MockServer modules for matching and expectations
package org.mockserver.model;
/**
* @author jamesdbloom
*/
public class BinaryMessage implements Message {
private byte[] bytes;
public static BinaryMessage bytes(byte[] bytes) {
return new BinaryMessage()
.withBytes(bytes);
}
public BinaryMessage withBytes(byte[] bytes) {
this.bytes = bytes;
return this;
}
public byte[] getBytes() {
return bytes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy