- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for Forwarded (0.05 sec)
-
src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java
@Override public Tuple3<String, String, String>[] getVirtualHosts() { return new Tuple3[] { new Tuple3<>("Host", "example.com", "site1"), new Tuple3<>("X-Forwarded-Host", "test.com", "site2") }; } }); MockletHttpServletRequest request = getMockRequest(); HtmlNext page = new HtmlNext("/search"); // No matching host header
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 11.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with * the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * {@snippet : * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() { * public Foo apply(Foo foo) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with * the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * {@snippet : * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() { * public Foo apply(Foo foo) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingObject.java
* interface-specific subclass of {@code ForwardingObject}, such as {@link ForwardingList}, to * preserve equality behavior, or override {@code equals} directly. * * <p>The {@code toString} method is forwarded to the delegate. Although this class does not * implement {@link Serializable}, a serializable subclass may be created since this class has a * parameter-less constructor. * * @author Mike Bostock * @since 2.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HttpHeaders.java
* X-Forwarded-Host}</a> header field name. * * @since 20.0 */ public static final String X_FORWARDED_HOST = "X-Forwarded-Host"; /** * The HTTP <a * href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/x-forwarded-headers.html#x-forwarded-port">{@code * X-Forwarded-Port}</a> header field name. * * @since 20.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 27 20:37:16 UTC 2025 - 35.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingObject.java
* interface-specific subclass of {@code ForwardingObject}, such as {@link ForwardingList}, to * preserve equality behavior, or override {@code equals} directly. * * <p>The {@code toString} method is forwarded to the delegate. Although this class does not * implement {@link Serializable}, a serializable subclass may be created since this class has a * parameter-less constructor. * * @author Mike Bostock * @since 2.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java
UserInfoHelper userInfoHelper = new UserInfoHelper(); userInfoHelper.setCookieSecure(null); MockletHttpServletRequest request = getMockRequest(); request.addHeader("X-Forwarded-Proto", "https"); assertTrue(userInfoHelper.isSecureCookie()); } public void test_isSecureCookie_noRequest() { UserInfoHelper userInfoHelper = new UserInfoHelper();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
queue.add(random.nextInt()); } } } /** * Implementation of the InvertedMinMaxPriorityQueue which forwards all calls to a * MinMaxPriorityQueue, except poll, which is forwarded to pollMax. That way we can benchmark * pollMax using the same code that benchmarks poll. */ static final class InvertedMinMaxPriorityQueue<T> extends ForwardingQueue<T> { MinMaxPriorityQueue<T> mmHeap;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K 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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0)