コード例 #1
0
 // to determine whether or not accept this cookie
 private boolean shouldAcceptInternal(final URI uri, final HttpCookie cookie) {
   try {
     return policyCallback.shouldAccept(uri, cookie);
   } catch (final Exception ignored) { // pretect against malicious callback
     return false;
   }
 }