blob: adeba926d35ab04e36bd2ad93f8d07fdd43bee7e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.http.client;
import net.jcip.annotations.Immutable;
/**
* @author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
* @since 5.1.20
*/
@Immutable
public class TestDocument {
private final String documentId;
private final byte[] contents;
TestDocument(String documentId, byte[] contents) {
this.documentId = documentId;
this.contents = contents;
}
public String getDocumentId() {
return documentId;
}
public byte[] getContents() {
return contents;
}
}
|