public class ServletConnection extends Object implements Connection
HttpServletRequest.| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.http.HttpServletRequest |
request |
| Constructor and Description |
|---|
ServletConnection(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getLocalAddress() |
InetAddress |
getRemoteAddress() |
javax.servlet.http.HttpServletRequest |
getRequest() |
protected boolean |
isConnectionOpen(javax.servlet.http.HttpServletRequest request)
Override this method if you can check, at a low level, if the client
connection is still open for the given request.
|
boolean |
isOpen() |
public ServletConnection(javax.servlet.http.HttpServletRequest request)
public javax.servlet.http.HttpServletRequest getRequest()
public boolean isOpen()
isOpen in interface Connectionpublic InetAddress getRemoteAddress()
getRemoteAddress in interface Connectionpublic InetAddress getLocalAddress()
getLocalAddress in interface Connectionprotected boolean isConnectionOpen(javax.servlet.http.HttpServletRequest request)
true.Copyright © 2023 jUPnP.org. All rights reserved.