- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for get_c (0.04 sec)
-
tests/test_custom_route_class.py
router_b = APIRouter(route_class=APIRouteB) router_c = APIRouter(route_class=APIRouteC) @router_a.get("/") def get_a(): return {"msg": "A"} @router_b.get("/") def get_b(): return {"msg": "B"} @router_c.get("/") def get_c(): return {"msg": "C"} router_b.include_router(router=router_c, prefix="/c") router_a.include_router(router=router_b, prefix="/b")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.1K bytes - Viewed (0) -
tests/test_default_response_class_router.py
@app.get("/") def get_root(): return {"msg": "Hello World"} @app.get("/override", response_class=PlainTextResponse) def get_path_override(): return "Hello World" @router_a.get("/") def get_a(): return {"msg": "Hello A"} @router_a.get("/override", response_class=PlainTextResponse) def get_a_path_override(): return "Hello A" @router_a_a.get("/") def get_a_a():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Mar 01 20:49:20 UTC 2020 - 5K bytes - Viewed (0) -
tests/test_default_response_class.py
@app.get("/") def get_root(): return {"msg": "Hello World"} @app.get("/override", response_class=PlainTextResponse) def get_path_override(): return "Hello World" @router_a.get("/") def get_a(): return {"msg": "Hello A"} @router_a.get("/override", response_class=PlainTextResponse) def get_a_path_override(): return "Hello A" @router_a_a.get("/") def get_a_a():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Mar 01 20:49:20 UTC 2020 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
HashMap domains = getTrustedDomains(auth); if (domains == null) return false; domain = domain.toLowerCase(); return domains.get(domain) != null; } public SmbTransport getDc(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException { if (DISABLED) return null; try {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/DfsResolver.java
* * @param domain * @param tf * @return connection * @throws CIFSException * @throws jcifs.smb.SmbAuthException */ SmbTransport getDc ( CIFSContext tf, String domain ) throws CIFSException; /** * Resolve the location of a DFS path * * @param domain * @param root * @param path * @param tf
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
return null; } } /** * * {@inheritDoc} * * @see jcifs.DfsResolver#getDc(jcifs.CIFSContext, java.lang.String) */ @Override public SmbTransport getDc ( CIFSContext tf, String domain ) throws SmbAuthException { if ( tf.getConfig().isDfsDisabled() ) return null;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:07:29 UTC 2023 - 29.1K bytes - Viewed (0) -
docs/features/calls.md
Some requests will have a cached response. When this cached response isn’t fresh, OkHttp can do a _conditional GET_ to download an updated response if it’s newer than what’s cached. This requires headers like `If-Modified-Since` and `If-None-Match` to be added. ## Rewriting Responses
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
return b.toString(); }).collect(Collectors.joining(","))); buf.append("},"); final GarbageCollectors gc = jvmStats.getGc(); buf.append("\"gc\":{"); buf.append(Arrays.stream(gc.getCollectors()).map(c -> { final StringBuilder b = new StringBuilder();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/DfsTest.java
@Test public void resolveDC () throws CIFSException { CIFSContext context = withAnonymousCredentials(); DfsResolver dfs = context.getDfs(); try ( SmbTransport dc = dfs.getDc(context, getTestDomain()) ) { Address addr = dc.getRemoteAddress(); String remoteHostName = dc.getRemoteHostName(); assertNotNull(addr); assertNotNull(remoteHostName);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 13.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
jvmPoolObj.capacity = p.getTotalCapacity().getBytes(); return jvmPoolObj; }).toArray(n -> new JvmPoolObj[n]); final GarbageCollectors gc = jvmStats.getGc(); jvmObj.gc = Arrays.stream(gc.getCollectors()).map(c -> { final JvmGcObj jvmGcObj = new JvmGcObj(); jvmGcObj.key = c.getName(); jvmGcObj.count = c.getCollectionCount();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.1K bytes - Viewed (0)