Logo Search packages:      
Sourcecode: nailgun version File versions  Download package

void com::martiansoftware::nailgun::NGContext::assertLoopbackClient (  )  [inline]

Throws a java.lang.SecurityException if the client is not connected via the loopback address.

Definition at line 239 of file NGContext.java.

References getInetAddress().

                                         {
            if (!getInetAddress().isLoopbackAddress()) {
                  throw (new SecurityException("Client is not at loopback address."));
            }
      }


Generated by  Doxygen 1.6.0   Back to index