blob: 5f977a7fef93690a8db3920aadd219f418e66274 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright Vespa.ai. 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));
}
}
|