- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 317 for retVal (0.03 sec)
-
src/test/java/jcifs/http/NtlmHttpFilterTest.java
// Create a minimal filter config that won't try to connect to a real server Map<String, String> initParams = new HashMap<>(); initParams.put("jcifs.smb.client.domain", "TEST_DOMAIN"); // Don't set domainController to avoid real connection attempts initParams.put("jcifs.http.loadBalance", "false"); initParams.put("jcifs.http.enableBasic", "false");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
/** * Sets up the mocks and the NtlmHttpURLConnection instance before each test. * @throws IOException */ @BeforeEach void setUp() throws IOException { // Create a real URL instead of mocking to avoid protocol issues mockUrl = new URL("http://test.example.com/path"); // Basic setup for mocks to avoid NullPointerExceptions when(mockConnection.getURL()).thenReturn(mockUrl);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
If you integrate your API with an OAuth2 provider, you will be able to authenticate and come back to the API docs with the acquired credentials. And interact with it using the real OAuth2 authentication. Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper. /// ### Create a *path operation* to test it { #create-a-path-operation-to-test-it }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.8K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
) return } // This is a long-lived response. Cancel full-call timeouts. call?.timeout()?.cancel() // Replace the body with a stripped one so the callbacks can't see real data. val response = response.stripBody() val reader = ServerSentEventReader(body.source(), this) try { if (!canceled) { listener.onOpen(this, response)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 3.3K bytes - Viewed (0) -
docs/es/docs/tutorial/security/simple-oauth2.md
### Usa el form data /// tip | Consejo La instance de la clase de dependencia `OAuth2PasswordRequestForm` no tendrá un atributo `scope` con el string largo separado por espacios, en su lugar, tendrá un atributo `scopes` con la lista real de strings para cada scope enviado. No estamos usando `scopes` en este ejemplo, pero la funcionalidad está ahí si la necesitas. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 9.9K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
public synchronized void awaitAccessToken(Timeout timeout) throws InterruptedIOException { while (session == null) { timeout.waitUntilNotified(this); } } /** Starts a real time messaging session. */ public void startRtm() throws IOException { String accessToken; synchronized (this) { accessToken = session.access_token; }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
} public void test_updateDocument_noLanguageDetected() { Map<String, Object> doc = new HashMap<>(); doc.put("title", "xyz"); doc.put("content", "xyz"); // Without a real detector, this will throw NullPointerException try { languageHelper.updateDocument(doc); fail("Should throw NullPointerException without detector"); } catch (NullPointerException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
mocks = MockitoAnnotations.openMocks(this); when(context.getConfig()).thenReturn(config); when(config.isDirectoryNotificationsEnabled()).thenReturn(false); // Create real lease manager for integration testing baseLeaseManager = new LeaseManager(context); directoryLeaseManager = new DirectoryLeaseManager(context, baseLeaseManager); } @AfterEach
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/pt/docs/how-to/custom-docs-ui-assets.md
Se você integrar sua API com um provedor OAuth2, você poderá autenticar e voltar para a documentação da API com as credenciais adquiridas. E interagir com ela usando a autenticação OAuth2 real. Swagger UI lidará com isso nos bastidores para você, mas ele precisa desse auxiliar de "redirecionamento". /// ### Criar uma *operação de rota* para testar
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Apr 28 18:31:44 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
try { // Note: Actual SMB2 Change Notify implementation would go here // For now, this is a placeholder that simulates monitoring // In a real implementation, we would: // 1. Send SMB2 Change Notify request // 2. Wait for response // 3. Process changes // 4. Notify the lease manager
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0)