Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 412 for 400 (0.01 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

     *     if (myConfig.isInvalid()) {
     *       return Response.Builder()
     *           .request(chain.request())
     *           .protocol(Protocol.HTTP_1_1)
     *           .code(400)
     *           .message("client config invalid")
     *           .body("client config invalid".toResponseBody(null))
     *           .build()
     *     }
     *
     *     return chain.proceed(chain.request())
     *   }
     * ```
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        try {
          OAuthSession session = slackApi.exchangeCode(code, redirectUrl());
          listener.sessionGranted(session);
        } catch (IOException e) {
          return new MockResponse()
              .setResponseCode(400)
              .setBody("code exchange failed: " + e.getMessage());
        }
    
        synchronized (this) {
          listeners.remove(state);
        }
    
        // Success!
        return new MockResponse()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.NotThreadSafe;
    import org.apache.maven.api.annotations.Nullable;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionRangeResolverRequest extends Request<Session> {
    
        @Nonnull
        ArtifactCoordinates getArtifactCoordinates();
    
        @Nullable
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.NotThreadSafe;
    import org.apache.maven.api.annotations.Nullable;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionResolverRequest extends Request<Session> {
    
        @Nonnull
        ArtifactCoordinates getArtifactCoordinates();
    
        @Nullable
        List<RemoteRepository> getRepositories();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/response-status-code.md

    * **`300`** 以上は「リダイレクト」のためのものです。これらのステータスコードを持つレスポンスは`304`(Not Modified)を除き、ボディを持つことも持たないこともできます。
    * **`400`** 以上は「クライアントエラー」のレスポンスのためのものです。これらは、おそらく最も多用するであろう2番目のタイプです。
        * 例えば、`404`は「Not Found」レスポンスです。
        * クライアントからの一般的なエラーについては、`400`を使用することができます。
    * `500`以上はサーバーエラーのためのものです。これらを直接使うことはほとんどありません。アプリケーションコードやサーバーのどこかで何か問題が発生した場合、これらのステータスコードのいずれかが自動的に返されます。
    
    /// tip | 豆知識
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerPrivate.java

     * </ol>
     *
     * @since 2.0.9
     * @see ToolchainManager#getToolchainFromBuildContext(String, MavenSession)
     * @deprecated Use {@link org.apache.maven.api.services.ToolchainManager} instead.
     */
    @Deprecated(since = "4.0.0")
    public interface ToolchainManagerPrivate {
    
        /**
         * Retrieves every toolchains of given type available in user settings.
         *
         * @param type the type, must not be {@code null}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

    /**
     * JDK toolchain implementation.
     *
     * @since 2.0.9, renamed from DefaultJavaToolChain in 3.2.4
     * @deprecated Use {@link org.apache.maven.api.services.ToolchainFactory} instead.
     */
    @Deprecated(since = "4.0.0")
    public class JavaToolchainImpl extends DefaultToolchain implements JavaToolchain {
        private String javaHome;
    
        public static final String KEY_JAVAHOME = "jdkHome"; // NOI18N
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/LocalRepository.java

     * Unix-like systems or {@code C:\Users\YourName\.m2\repository} on Windows).
     * The location of the local repository can be customized in the
     * {@code settings.xml} file.</p>
     *
     * @since 4.0.0
     * @see Repository
     * @see org.apache.maven.api.settings.Settings
     */
    @Experimental
    @Immutable
    public interface LocalRepository extends Repository {
    
        @Nonnull
        Path getPath();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

     *
     * @see Version
     * @see VersionConstraint
     * @see org.apache.maven.api.services.VersionParser#parseVersionRange(String)
     * @see org.apache.maven.api.Session#parseVersionRange(String)
     * @since 4.0.0
     */
    @Experimental
    public interface VersionRange {
        /**
         * Determines whether the specified version is contained within this range.
         *
         * @param version the version to test, must not be {@code null}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Centralized class for Maven Core feature information.
     * Features configured are supposed to be final in a given maven session.
     *
     * @since 4.0.0
     */
    public final class Features {
    
        private Features() {}
    
        /**
         * Check if the personality is "maven3".
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 04 19:42:23 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top