Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,526 for SMethod (0.09 sec)

  1. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
            body = body,
          )
        assertThat(request.url).isEqualTo(url)
        assertThat(request.headers).isEqualTo(headers)
        assertThat(request.method).isEqualTo(method)
        assertThat(request.body).isEqualTo(body)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/PushPromise.kt

    import okhttp3.Headers
    
    class PushPromise(
      @get:JvmName("method") val method: String,
      @get:JvmName("path") val path: String,
      @get:JvmName("headers") val headers: Headers,
      @get:JvmName("response") val response: MockResponse,
    ) {
      @JvmName("-deprecated_method")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "method"),
        level = DeprecationLevel.ERROR,
      )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

            public RequestDataContext method(final Method method) {
                data.setMethod(method);
                return this;
            }
    
            public RequestDataContext get() {
                return method(Method.GET);
            }
    
            public RequestDataContext head() {
                return method(Method.HEAD);
            }
    
            public RequestDataContext post() {
                return method(Method.POST);
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            return isAnnotatedWithIncubating(clazz)
        }
    
        private boolean isIncubatingOrOverrideMethod(JApiMethod method) {
            return isAnnotatedWithIncubating(method) || isAnnotatedWithIncubating(method.jApiClass) || isOverride(method)
        }
    
        private static boolean isIncubatingField(JApiField field) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/extending-openapi.md

    A `FastAPI` application (instance) has an `.openapi()` method that is expected to return the OpenAPI schema.
    
    As part of the application object creation, a *path operation* for `/openapi.json` (or for whatever you set your `openapi_url`) is registered.
    
    It just returns a JSON response with the result of the application's `.openapi()` method.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/lang/ModifierUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.lang;
    
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    import java.util.HashMap;
    import java.util.Map;
    
    import junit.framework.TestCase;
    
    /**
     * @author shot
     */
    public class ModifierUtilTest extends TestCase {
    
        /**
         * @throws Exception
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

       *       </ul>
       *   <li>other method calls are dispatched to {@link #handleInvocation}.
       * </ul>
       */
      @Override
      @CheckForNull
      public final Object invoke(Object proxy, Method method, @CheckForNull @Nullable Object[] args)
          throws Throwable {
        if (args == null) {
          args = NO_ARGS;
        }
        if (args.length == 0 && method.getName().equals("hashCode")) {
          return hashCode();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        for (Method method : getInstanceMethodsToTest(instance.getClass(), minimalVisibility)) {
          testMethod(instance, method);
        }
      }
    
      ImmutableList<Method> getInstanceMethodsToTest(Class<?> c, Visibility minimalVisibility) {
        ImmutableList.Builder<Method> builder = ImmutableList.builder();
        for (Method method : minimalVisibility.getInstanceMethods(c)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java

         * <p>
         * Note: only one, this method or {@link #getRecommendedVersion()} method must return non-{@code null} value.
         */
        @Nullable
        VersionRange getVersionRange();
    
        /**
         * Returns the recommended version of this constraint, or {@code null} if none.
         * <p>
         * Note: only one, this method or {@link #getVersionRange()} method must return non-{@code null} value.
         */
        @Nullable
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java

            delegate.setAddLocationInformation(addLocationInformation);
        }
    
        /**
         * Method setFileComment.
         *
         * @param fileComment a fileComment object.
         */
        public void setFileComment(String fileComment) {
            delegate.setFileComment(fileComment);
        } // -- void setFileComment( String )
    
        /**
         * Method setStringFormatter.
         *
         * @param stringFormatter
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top