Package org.zaproxy.zap
Interface PersistentConnectionListener
-
- All Superinterfaces:
ArrangeableProxyListener
public interface PersistentConnectionListener extends ArrangeableProxyListener
Proxy listener that targets long living connections, such as WebSockets or Server-Sent Events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
onHandshakeResponse(HttpMessage httpMessage, java.net.Socket inSocket, ZapGetMethod method)
Allows to keep the connection open and perform advanced operations on the Socket.-
Methods inherited from interface org.parosproxy.paros.core.proxy.ArrangeableProxyListener
getArrangeableListenerOrder
-
-
-
-
Method Detail
-
onHandshakeResponse
boolean onHandshakeResponse(HttpMessage httpMessage, java.net.Socket inSocket, ZapGetMethod method)
Allows to keep the connection open and perform advanced operations on the Socket. Consider WebSocket connections or Server-Sent Events.- Parameters:
httpMessage
- Contains request and response.inSocket
- Contains TCP connection to browser.method
- May contain TCP connection to server.- Returns:
- True if connection is took over, false if not interested.
-
-