- Sort Score
- Num 10 results
- Language All
Results 1401 - 1410 of 2,760 for DEFAULT (0.14 seconds)
-
mockwebserver/README.md
server.close() } ``` Your unit tests might move the `server` into a field so you can shut it down from your test's `tearDown()`. ### API #### MockResponse Mock responses default to an empty response body and a `200` status code. You can set a custom body with a string, input stream or byte array. Also add headers with a fluent builder API. ### Java ```java
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 8.1K bytes - Click Count (0) -
docs/en/docs/advanced/additional-responses.md
/// /// info Unless you specify a different media type explicitly in your `responses` parameter, FastAPI will assume the response has the same media type as the main response class (default `application/json`). But if you have specified a custom response class with `None` as its media type, FastAPI will use `application/json` for any additional response that has an associated model. ///
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.9K bytes - Click Count (0) -
fastapi/encoders.py
set (and that only had their default values). """ ), ] = False, exclude_defaults: Annotated[ bool, Doc( """ Pydantic's `exclude_defaults` parameter, passed to Pydantic models to define if it should exclude from the output the fields that had the same default value, even when they were explicitly set.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 10.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* NullPointerTester} uses best effort to pick non-null default values for many common JDK and Guava * types, and also for interfaces and public classes that have public parameter-less constructors. * When the non-null default value for a particular parameter type cannot be provided by {@code * NullPointerTester}, the caller can provide a custom non-null default value for the parameter type * via {@link #setDefault}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/logout/LogoutAction.java
import org.lastaflute.web.Execute; import org.lastaflute.web.response.HtmlResponse; /** * The logout action. */ public class LogoutAction extends FessSearchAction { /** * Default constructor. */ public LogoutAction() { super(); } // ===================================================================================Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.8K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt
public abstract fun dispatch(request: RecordedRequest): MockResponse /** * Returns an early guess of the next response, used for policy on how an incoming request should * be received. The default implementation returns an empty response. Mischievous implementations * can return other values to test HTTP edge cases, such as unhappy socket policies or throttled * request bodies. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 1.6K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt
*/ public sealed interface SocketEffect { /** * Close the TCP socket that carries this request. * * Using this as [MockResponse.onResponseEnd] is the default for HTTP/1.0. */ public class CloseSocket( public val closeSocket: Boolean = true, public val shutdownInput: Boolean = false, public val shutdownOutput: Boolean = false, ) : SocketEffect /**Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterRequest.java
* Used to unregister from witness notifications. */ public class WitnessUnregisterRequest { /** * Creates a new witness unregister request. */ public WitnessUnregisterRequest() { // Default constructor } private String registrationId; private byte[] contextHandle; /** * Gets the registration ID to unregister. * * @return the registration ID */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 1.9K bytes - Click Count (0) -
cmd/bucket-lifecycle.go
wrkr := es.getWorkerCh(je.OpHash()) if wrkr == nil { es.stats.missedTierJournalTasks.Add(1) return } select { case <-GlobalContext.Done(): case wrkr <- je: default: es.stats.missedTierJournalTasks.Add(1) } } // enqueueFreeVersion enqueues a free version to be deleted func (es *expiryState) enqueueFreeVersion(oi ObjectInfo) { task := freeVersionTask{ObjectInfo: oi}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 33.7K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
parse(material); } /** * Returns the default flags for a generic Type-3 message in the * current environment. * * @param tc * context to use * @return An <code>int</code> containing the default flags. */ public static int getDefaultFlags(final CIFSContext tc) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0)