Klasse ServletUpnpStream

java.lang.Object
org.jupnp.transport.spi.UpnpStream
org.jupnp.transport.impl.ServletUpnpStream
Alle implementierten Schnittstellen:
Runnable
Bekannte direkte Unterklassen:
AsyncServletUpnpStream, BlockingServletUpnpStream

public abstract class ServletUpnpStream extends UpnpStream
Abstract implementation of a UpnpStream. This class is extended for each servlet implementations (blocking servlet 2.4 and async servlet 3.0).
Autor:
Ivan Iliev - Initial contribution and API
  • Felddetails

    • responseMessage

      protected StreamResponseMessage responseMessage
    • logger

      protected final org.slf4j.Logger logger
  • Konstruktordetails

    • ServletUpnpStream

      protected ServletUpnpStream(ProtocolFactory protocolFactory)
  • Methodendetails

    • run

      public void run()
    • readRequestMessage

      protected StreamRequestMessage readRequestMessage() throws IOException
      Löst aus:
      IOException
    • writeResponseMessage

      protected void writeResponseMessage(StreamResponseMessage responseMessage) throws IOException
      Löst aus:
      IOException
    • createConnection

      protected abstract Connection createConnection()
    • getRequest

      protected abstract javax.servlet.http.HttpServletRequest getRequest()
    • getResponse

      protected abstract javax.servlet.http.HttpServletResponse getResponse()
    • complete

      protected abstract void complete()