- Sort Score
- Num 10 results
- Language All
Results 2481 - 2490 of 2,945 for methods (0.07 seconds)
-
src/test/java/jcifs/smb/SmbSessionInternalTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.SmbTransport; import jcifs.SmbTree; /** * Tests for SmbSessionInternal interface using Mockito to exercise * method contracts, checked exceptions, and interactions with collaborators. */ @ExtendWith(MockitoExtension.class) public class SmbSessionInternalTest { @Mock private SmbSessionInternal session; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
*/ <T> void set(@Nonnull Key<T> key, @Nullable T value); /** * Associates the specified session data with the given key if the key is currently mapped to the given value. This * method provides an atomic compare-and-update of some key's value. * * @param key the key under which to store the session data, must not be {@code null}Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
} return redirect(getClass()); // no-op } /** * Creates a CURL request from the provided header string. * * @param header the header string containing HTTP method and path * @return CURL request object or null if header is invalid */ private CurlRequest getCurlRequest(final String header) { if (StringUtil.isBlank(header)) { return null;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface); healthyChannel.setState(ChannelState.ESTABLISHED); // Use reflection or package-private method to add channel for testing // For now, just test the empty case assertEquals(0, channelManager.getHealthyChannels().size()); } @Test void testChannelSelection() { try {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Credentials; /** * Tests for SmbRenewableCredentials interface. * * Since this file is an interface with a single method, we provide small * helper implementations to exercise expected interaction patterns and edge cases. */ @ExtendWith(MockitoExtension.class) public class SmbRenewableCredentialsTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
docs/en/docs/tutorial/server-sent-events.md
{* ../../docs_src/server_sent_events/tutorial004_py310.py hl[25,27,31] *} ## SSE with POST { #sse-with-post } SSE works with **any HTTP method**, not just `GET`. This is useful for protocols like [MCP](https://modelcontextprotocol.io) that stream SSE over `POST`: {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.6K bytes - Click Count (0) -
docs/uk/docs/tutorial/cors.md
Це проміжне програмне забезпечення обробляє два типи HTTP-запитів... ### Попередні CORS-запити { #cors-preflight-requests } Це будь-які `OPTIONS` - запити, що містять заголовки `Origin` та `Access-Control-Request-Method`. У такому випадку проміжне програмне забезпечення перехопить вхідний запит і відповість відповідними CORS-заголовками, повертаючи або `200`, або `400` для інформаційних цілей. ### Прості запити { #simple-requests }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 8.3K bytes - Click Count (0) -
fastapi/sse.py
Use as `response_class=EventSourceResponse` on a *path operation* that uses `yield` to enable Server Sent Events (SSE) responses. Works with **any HTTP method** (`GET`, `POST`, etc.), which makes it compatible with protocols like MCP that stream SSE over `POST`. The actual encoding logic lives in the FastAPI routing layer. This classCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 6.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformer.java
tests.addLast(result); teardownSection = result; } } } return tests; } /** * Recursive method to traverse the test. * * @param testContext A pojo to hold information about the current state of the test that is being traversed.
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jul 12 17:42:01 GMT 2021 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
protected void install(Artifact artifact) { // Mock install method } }; Artifact artifact = new Artifact("fess-ds-test", "1.0.0", "http://test.com/test.jar"); try { testHelper.installArtifact(artifact); // If we get here, the method executed without throwing assertTrue(true); } catch (Exception e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 22.6K bytes - Click Count (0)