org.teleal.cling.transport.impl.apache
Class HttpServerConnectionUpnpStream.UpnpHttpService
java.lang.Object
org.apache.http.protocol.HttpService
org.teleal.cling.transport.impl.apache.HttpServerConnectionUpnpStream.UpnpHttpService
- Enclosing class:
- HttpServerConnectionUpnpStream
protected class HttpServerConnectionUpnpStream.UpnpHttpService
- extends org.apache.http.protocol.HttpService
A thread-safe custom service implementation that creates a UPnP message from the request,
then passes it to UpnpStream#process(), finally sends the response back to the
client.
Method Summary |
protected void |
doService(org.apache.http.HttpRequest httpRequest,
org.apache.http.HttpResponse httpResponse,
org.apache.http.protocol.HttpContext ctx)
|
protected org.apache.http.params.HttpParams |
getResponseParams(UpnpOperation operation)
|
protected java.lang.String |
readBuffered(java.io.InputStream inputStream)
|
Methods inherited from class org.apache.http.protocol.HttpService |
getParams, handleException, handleRequest, setConnReuseStrategy, setExpectationVerifier, setHandlerResolver, setHttpProcessor, setParams, setResponseFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServerConnectionUpnpStream.UpnpHttpService
public HttpServerConnectionUpnpStream.UpnpHttpService(org.apache.http.protocol.HttpProcessor processor,
org.apache.http.ConnectionReuseStrategy reuse,
org.apache.http.HttpResponseFactory responseFactory)
doService
protected void doService(org.apache.http.HttpRequest httpRequest,
org.apache.http.HttpResponse httpResponse,
org.apache.http.protocol.HttpContext ctx)
throws org.apache.http.HttpException,
java.io.IOException
- Overrides:
doService
in class org.apache.http.protocol.HttpService
- Throws:
org.apache.http.HttpException
java.io.IOException
readBuffered
protected java.lang.String readBuffered(java.io.InputStream inputStream)
throws java.io.IOException
- Throws:
java.io.IOException
getResponseParams
protected org.apache.http.params.HttpParams getResponseParams(UpnpOperation operation)
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.