@@ -0,0 +1,632 @@
+package net.zephyrizing.http_server.content;%0A%0Aimport java.io.ByteArrayInputStream;%0Aimport java.io.InputStream;%0A%0Apublic class StringContentProvider implements ContentProvider %7B%0A%0A    private String content;%0A%0A    public StringContentProvider(String content) %7B%0A        this.content = content;%0A    %7D%0A%0A    @Override%0A    public boolean contentExists() %7B%0A        return this.content != null;%0A    %7D%0A%0A    @Override%0A    public InputStream getContent() %7B%0A        if (contentExists()) %7B%0A            return new ByteArrayInputStream(content.getBytes());%0A        %7D else %7B%0A            return new ByteArrayInputStream(new byte%5B0%5D);%0A        %7D%0A    %7D%0A%7D%0A

Add a StringContentProvider