blob: 003b58de8271ab2473523285ec191cc4660c1a61 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.restapi;
import java.nio.charset.StandardCharsets;
/**
* @author bratseth
*/
public class StringResponse extends ByteArrayResponse {
public StringResponse(String message) {
super(message.getBytes(StandardCharsets.UTF_8));
}
}
|