Changed HttpPrintStream to use a internal stream instead of extending one
This commit is contained in:
parent
a199165756
commit
1684c86a60
13 changed files with 130 additions and 119 deletions
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
package zutil.net.upnp;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
|
|
@ -46,7 +47,7 @@ public class UPnPMediaServer extends UPnPRootDevice{
|
|||
|
||||
public void respond(HttpPrintStream out, HttpHeaderParser clientInfo,
|
||||
Map<String, Object> session, Map<String, String> cookie,
|
||||
Map<String, String> request) {
|
||||
Map<String, String> request) throws IOException {
|
||||
|
||||
out.enableBuffering(true);
|
||||
out.setHeader("Content-Type", "text/xml");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue