0

When a socket connection is established via the url /path/to/socket should org.glassfish.grizzly.websockets.DefaultWebSocket$WSServletRequestImpl.pathInfo be null? It seems like it should always contain information about the path. I'm using atmosphere but am trying to debug an issue I'm experiencing.

I'm using Grizzly 2.3.1

Ben
  • 60,438
  • 111
  • 314
  • 488

1 Answers1

0

According to the source, yes - if the relative path (after root context and servlet path are removed) is an empty string, it will return null.

Based on this, you should be able to deduce a null to mean "no path after the servlet part".

seanhodges
  • 17,426
  • 15
  • 71
  • 93