Class RemoteAddressContainerHacks

java.lang.Object
io.mats3.matssocket.impl.RemoteAddressContainerHacks

public class RemoteAddressContainerHacks extends Object
Provides several hacks to get the Remote Address for different Servlet Containers implementing JSR 356 Java API for WebSockets, as that standard does not specify a method for it. Currently tries to get a Remote Address using the following hacks (If you can provide more, let us know!):
  • Constructor Details

    • RemoteAddressContainerHacks

      public RemoteAddressContainerHacks()
  • Method Details

    • attemptGetRemoteAddress

      public static String attemptGetRemoteAddress(javax.websocket.Session session)