public abstract class ServletUpnpStream extends UpnpStream
UpnpStream. This class is extended for each servlet implementations (blocking
servlet 2.4 and async servlet 3.0).| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
protected StreamResponseMessage |
responseMessage |
protocolFactory, syncProtocol| Constructor and Description |
|---|
ServletUpnpStream(ProtocolFactory protocolFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
complete() |
protected abstract Connection |
createConnection() |
protected abstract javax.servlet.http.HttpServletRequest |
getRequest() |
protected abstract javax.servlet.http.HttpServletResponse |
getResponse() |
protected StreamRequestMessage |
readRequestMessage() |
void |
run() |
protected void |
writeResponseMessage(StreamResponseMessage responseMessage) |
getProtocolFactory, process, responseException, responseSent, toStringprotected StreamResponseMessage responseMessage
protected final org.slf4j.Logger log
public ServletUpnpStream(ProtocolFactory protocolFactory)
public void run()
protected StreamRequestMessage readRequestMessage() throws IOException
IOExceptionprotected void writeResponseMessage(StreamResponseMessage responseMessage) throws IOException
IOExceptionprotected abstract Connection createConnection()
protected abstract javax.servlet.http.HttpServletRequest getRequest()
protected abstract javax.servlet.http.HttpServletResponse getResponse()
protected abstract void complete()
Copyright © 2023 jUPnP.org. All rights reserved.