org.eclipse.jetty.nested
public class NestedEndPoint extends StreamEndPoint
Constructor and Description |
---|
NestedEndPoint(javax.servlet.http.HttpServletRequest outerRequest,
javax.servlet.http.HttpServletResponse outerResponse) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalAddr() |
java.lang.String |
getLocalHost() |
int |
getLocalPort() |
java.lang.String |
getRemoteAddr() |
java.lang.String |
getRemoteHost() |
int |
getRemotePort() |
javax.servlet.ServletInputStream |
getServletInputStream() |
blockReadable, blockWritable, close, fill, flush, flush, flush, getInputStream, getMaxIdleTime, getOutputStream, getTransport, idleExpired, isBlocking, isClosed, isInputShutdown, isOpen, isOutputShutdown, setInputStream, setMaxIdleTime, setOutputStream, shutdownInput, shutdownOutput
public NestedEndPoint(javax.servlet.http.HttpServletRequest outerRequest, javax.servlet.http.HttpServletResponse outerResponse) throws java.io.IOException
java.io.IOException
public javax.servlet.ServletInputStream getServletInputStream()
public java.lang.String getLocalAddr()
getLocalAddr
in interface EndPoint
getLocalAddr
in class StreamEndPoint
EndPoint
is bound, or null
if this EndPoint
does not represent a network connection.public java.lang.String getLocalHost()
getLocalHost
in interface EndPoint
getLocalHost
in class StreamEndPoint
EndPoint
is bound, or null
if this EndPoint
does not represent a network connection.public int getLocalPort()
getLocalPort
in interface EndPoint
getLocalPort
in class StreamEndPoint
EndPoint
is listening, or 0
if this EndPoint
does not represent a network connection.public java.lang.String getRemoteAddr()
getRemoteAddr
in interface EndPoint
getRemoteAddr
in class StreamEndPoint
EndPoint
is connected, or null
if this EndPoint
does not represent a network connection.public java.lang.String getRemoteHost()
getRemoteHost
in interface EndPoint
getRemoteHost
in class StreamEndPoint
EndPoint
is connected, or null
if this EndPoint
does not represent a network connection.public int getRemotePort()
getRemotePort
in interface EndPoint
getRemotePort
in class StreamEndPoint
EndPoint
is connected, or 0
if this EndPoint
does not represent a network connection.Copyright © 2017. All Rights Reserved.