presto-main/src/main/java/io/prestosql/memory/MemoryResource.java/MemoryResource/toSuccessfulResponse
class MemoryResource:    private Response toSuccessfulResponse(MemoryPoolInfo memoryInfo)
    {
        return Response.ok()
                .entity(memoryInfo)
                .build();
    }