Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,804 for request_ (0.05 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    
    class AsynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).enqueue(
          object : Callback {
            override fun onFailure(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeInternal.java

    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.Request;
    
    
    /**
     * @author mbechler
     * @internal
     */
    public interface SmbTreeInternal extends SmbTree {
    
        /**
         * @param tf
         * @throws SmbException
         */
        @Deprecated
        void connectLogon ( CIFSContext tf ) throws SmbException;
    
    
        /**
         * @param request
         * @param params
         * @return response message
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:08:49 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

            return LaRequestUtil.getOptionalRequest().map(request -> {
                if (logger.isDebugEnabled()) {
                    logger.debug("Logging in with SAML Authenticator");
                }
    
                final HttpServletResponse response = LaResponseUtil.getResponse();
    
                final HttpSession session = request.getSession(false);
                if (session != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

     * limitations under the License.
     */
    package okhttp3.recipes.kt
    
    import java.io.IOException
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class AccessHeaders {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request.Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
            .header("User-Agent", "OkHttp Headers.java")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

         * certificate authority is not possible.
         *
         * The server’s TLS certificate still must match the requested hostname. For example, if the
         * certificate is issued to `example.com` and the request is to `localhost`, the connection will
         * fail. Use a custom [HostnameVerifier] to ignore such problems.
         *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactoryTest.java

            assertNotNull(builder);
    
            DefaultSettingsBuildingRequest request = new DefaultSettingsBuildingRequest();
            request.setSystemProperties(System.getProperties());
            request.setUserSettingsFile(getSettings("simple"));
    
            SettingsBuildingResult result = builder.build(request);
            assertNotNull(result);
            assertNotNull(result.getEffectiveSettings());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

       * connection from the pool.
       *
       * Once true this is always true. Guarded by this.
       */
      var noNewExchanges = false
    
      /**
       * If true, this connection may not be used for coalesced requests. These are requests that could
       * share the same connection without sharing the same hostname.
       */
      private var noCoalescedConnections = false
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PostString.java

            + " * _1.1_ June 15, 2013\n"
            + " * _1.2_ August 11, 2013\n";
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(RequestBody.create(postBody, MEDIA_TYPE_MARKDOWN))
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  9. docs_src/path_operation_advanced_configuration/tutorial007.py

    )
    async def create_item(request: Request):
        raw_body = await request.body()
        try:
            data = yaml.safe_load(raw_body)
        except yaml.YAMLError:
            raise HTTPException(status_code=422, detail="Invalid YAML")
        try:
            item = Item.model_validate(data)
        except ValidationError as e:
            raise HTTPException(status_code=422, detail=e.errors(include_url=False))
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 822 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

        }
    
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            final WebApiManagerFactory webApiManagerFactory = ComponentUtil.getWebApiManagerFactory();
            final WebApiManager webApiManager = webApiManagerFactory.get((HttpServletRequest) request);
            if (webApiManager == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top