public List<Session> getSessionsForNode(final String node, final RequestOptions requestOptions) {

        return getSessionsForNode(node, null, requestOptions);
    }
public List<Session> getSessionsForNode(final String node, final RequestOptions requestOptions) {

        return getSessionsForNode(node, null, requestOptions);
    }
public List < Session > getSessionsForNode ( final String node , final RequestOptions requestOptions ) { return getSessionsForNode ( node , null , requestOptions ) ; }
This endpoint is hit with a GET and returns the active sessions for a given node and datacenter.
By default, the datacenter of the agent is queried; however,
the dc can be provided using the "?dc=" query parameter.
The node being queried must be provided on the path.
/v1/session/node/node:
Lists sessions belonging to a node

@param node           node
@param requestOptions request options for consistency and long poll
@return list of sessions for this node
This endpoint is hit with a GET and returns the active sessions for a given node and datacenter . By default the datacenter of the agent is queried ; however the dc can be provided using the ?dc = query parameter . The node being queried must be provided on the path . / v1 / session / node / node : Lists sessions belonging to a node