qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/SessionEndpoint.java
public Optional<Session> info(final String sessionId, RequestOptions requestOptions) {

        return info(sessionId, null, requestOptions);

    }
public Optional<Session> info(final String sessionId, RequestOptions requestOptions) {

        return info(sessionId, null, requestOptions);

    }
This endpoint is hit with a GET and returns the requested session information
within a given datacenter. By default, the datacenter of the agent is queried; however,
the dc can be provided using the "?dc=" query parameter.
<p>
The session being queried must be provided on the path.
It returns a JSON body like this:
<pre>
<code>
[{
"LockDelay": 1.5e+10,
"Checks": [
"serfHealth"
],
"Node": "foobar",
"ID": "adf4238a-882b-9ddc-4a9d-5b6758e4159e",
"CreateIndex": 1086449
}]
</code>
</pre>
<p>
If the session is not found, null is returned instead of a JSON list.
This endpoint supports blocking queries and all consistency modes.
<p>
/v1/session/info/session: Queries a given session

@param sessionId      id of a session
@param requestOptions request options
@return Session for this session id.