public class JettyWebSocketSession extends AbstractWebSocketSession
| Modifier and Type | Field and Description |
|---|---|
private org.eclipse.jetty.websocket.api.Session |
session |
private String |
sessionId |
| Constructor and Description |
|---|
JettyWebSocketSession(String sessionId,
org.eclipse.jetty.websocket.api.Session session) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(String reason) |
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getRemoteAddress() |
String |
getSessionId() |
boolean |
isSecure() |
void |
sendBinary(ByteBuffer data) |
void |
sendString(String message) |
getTransitUri, setTransitUriprivate final String sessionId
private final org.eclipse.jetty.websocket.api.Session session
public JettyWebSocketSession(String sessionId, org.eclipse.jetty.websocket.api.Session session)
public String getSessionId()
public void sendString(String message) throws IOException
IOExceptionpublic void sendBinary(ByteBuffer data) throws IOException
IOExceptionpublic void close(String reason) throws IOException
IOExceptionpublic InetSocketAddress getRemoteAddress()
public InetSocketAddress getLocalAddress()
public boolean isSecure()
Copyright © 2021 Apache NiFi Project. All rights reserved.