Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for getHeaders (0.12 sec)

  1. mockwebserver/api/mockwebserver3.api

    	public final fun getBody ()Lmockwebserver3/MockResponseBody;
    	public final fun getBodyDelayNanos ()J
    	public final fun getCode ()I
    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getHeadersDelayNanos ()J
    	public final fun getInTunnel ()Z
    	public final fun getInformationalResponses ()Ljava/util/List;
    	public final fun getMessage ()Ljava/lang/String;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/curl/CurlResponse.java

                this.headers = map;
            }
        }
    
        public Map<String, List<String>> getHeaders() {
            return headers;
        }
    
        public String[] getHeaderValues(final String name) {
            final List<String> list = headers.get(name.toLowerCase(Locale.ROOT));
            if (list == null) {
                return new String[0];
            }
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun getChunkSizes ()Ljava/util/List;
    	public final fun getFailure ()Ljava/io/IOException;
    	public final fun getHandshake ()Lokhttp3/Handshake;
    	public final fun getHeader (Ljava/lang/String;)Ljava/lang/String;
    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getMethod ()Ljava/lang/String;
    	public final fun getPath ()Ljava/lang/String;
    	public final fun getRequestLine ()Ljava/lang/String;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

      @JvmName("-deprecated_getHeaders")
      @Deprecated(
        message = "moved to var",
        replaceWith = ReplaceWith(expression = "headers"),
        level = DeprecationLevel.ERROR,
      )
      fun getHeaders(): Headers = headers
    
      fun setHeaders(headers: Headers) = apply { this.headers = headers }
    
      @JvmName("-deprecated_getTrailers")
      @Deprecated(
        message = "moved to var",
        replaceWith = ReplaceWith(expression = "trailers"),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

      }
    
      @Test @Disabled
      fun mockResponse() {
        val mockResponse = MockResponse()
        var status: String = mockResponse.getStatus()
        var headers: Headers = mockResponse.getHeaders()
        var trailers: Headers = mockResponse.getTrailers()
        var socketPolicy: SocketPolicy = mockResponse.getSocketPolicy()
        var http2ErrorCode: Int = mockResponse.getHttp2ErrorCode()
      }
    
      @Test @Disabled
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                searchLog.setClientIp(StringUtils.abbreviate(ComponentUtil.getViewHelper().getClientIp(req), 100));
                searchLog.setReferer(StringUtils.abbreviate(req.getHeader("referer"), 1000));
                searchLog.setUserAgent(StringUtils.abbreviate(req.getHeader("user-agent"), 255));
                final Object accessType = req.getAttribute(Constants.SEARCH_LOG_ACCESS_TYPE);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

            return LaRequestUtil.getOptionalRequest().map(req -> {
                for (final Tuple3<String, String, String> host : vHosts) {
                    final String headerValue = req.getHeader(host.getValue1());
                    if (host.getValue2().equalsIgnoreCase(headerValue)) {
                        return func.apply(host.getValue3());
                    }
                }
                return defaultValue;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

        @Nullable
        Path getPath();
    
        @Nullable
        Path getRootDirectory();
    
        @Nullable
        URL getURL();
    
        @Nullable
        InputStream getInputStream();
    
        @Nullable
        Reader getReader();
    
        @Nullable
        Transformer getTransformer();
    
        boolean isStrict();
    
        @Nullable
        String getModelId();
    
        @Nullable
        String getLocation();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jul 09 12:10:26 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. docs_src/response_headers/tutorial002.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.get("/headers-and-object/")
    def get_headers(response: Response):
        response.headers["X-Cat-Dog"] = "alone in the world"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 222 bytes
    - Viewed (0)
  10. docs_src/response_headers/tutorial001.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    
    app = FastAPI()
    
    
    @app.get("/headers/")
    def get_headers():
        content = {"message": "Hello World"}
        headers = {"X-Cat-Dog": "alone in the world", "Content-Language": "en-US"}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 309 bytes
    - Viewed (0)
Back to top