- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for Forwarded (0.04 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
throw new RuntimeException(e); } catch (NoSuchMethodException e) { throw new AssertionError(e); } } /** * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link * ForwardingObject#delegate}. {@code forwarderClass} is assumed to only implement one interface. */ static <T extends ForwardingObject> void testForwardingObject(Class<T> forwarderClass) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
* as {@code execute} and {@code invokeAny}, are implemented in terms of calls to {@code * delegate.execute}. All other methods are forwarded unchanged to the delegate. This implies that * the returned {@code ListeningExecutorService} never calls the delegate's {@code submit}, {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class); /* * TODO(cpovirk): move ForwardingTestCase somewhere common, and use it to * test the forwarded methods */ } @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock. public void testListeningDecorator_noWrapExecuteTask() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
assertTrue(ex.getMessage().contains("Not connected")); } @Test @DisplayName("getTreeId delegates") void getTreeIdDelegates() { // Ensures tree id is forwarded from connection when(treeConnection.getTreeId()).thenReturn(42L); assertEquals(42L, handle.getTreeId()); verify(treeConnection).getTreeId(); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
if (cookieSecure != null) { return cookieSecure; } return LaRequestUtil.getOptionalRequest().map(req -> { String forwardedProto = req.getHeader("X-Forwarded-Proto"); if ("https".equalsIgnoreCase(forwardedProto)) { return true; } return req.isSecure(); }).orElse(false); } /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
/** * Gets the client IP address from the request. * Checks X-Forwarded-For header before using remote address. * * @param request the HTTP servlet request * @return the client IP address */ public String getClientIp(final HttpServletRequest request) { final String value = request.getHeader("x-forwarded-for"); if (StringUtil.isNotBlank(value)) { return value;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 52.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class); /* * TODO(cpovirk): move ForwardingTestCase somewhere common, and use it to * test the forwarded methods */ } @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock. public void testListeningDecorator_noWrapExecuteTask() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
final String secure = fessConfig.getCookieSearchParameterSecure(); if (StringUtil.isBlank(secure)) { final String forwardedProto = request.getHeader("X-Forwarded-Proto"); if ("https".equalsIgnoreCase(forwardedProto)) { return true; } return request.isSecure(); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 36.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
// notices and transitions to the FAILED state. We do it by calling notifyFailed directly // because the service does not monitor the state of the future so if the exception is not // caught and forwarded to the service the task would stop executing but the service would // have no idea. // TODO(lukes): consider building everything in terms of ListenableScheduledFuture thenRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
assertThat(d.takeEvent()).isInstanceOf<CallStart>() assertThat(d.eventSequence).isEmpty() } /** Reflectively call every event function to confirm it is correctly forwarded. */ @Test fun aggregateEventListenerIsComplete() { val sampleValues = sampleValuesMap() val solo = EventRecorder(enforceOrder = false) val left = EventRecorder(enforceOrder = false)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.5K bytes - Viewed (0)