Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for genHeader (0.07 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                UserAgentType uaType = (UserAgentType) request.getAttribute(USER_AGENT_TYPE);
                if (uaType == null) {
                    final String userAgent = request.getHeader(USER_AGENT);
                    if (userAgent != null) {
                        if (userAgent.indexOf("MSIE") >= 0 || userAgent.indexOf("Trident") >= 0) {
                            uaType = UserAgentType.IE;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/filter/CorsFilter.java

                throws IOException, ServletException {
            final HttpServletRequest httpRequest = (HttpServletRequest) request;
            final String origin = httpRequest.getHeader("Origin");
            if (StringUtil.isNotBlank(origin)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("HTTP Request: {}", httpRequest.getMethod());
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. mockwebserver/README.md

      // Optional: confirm that your app made the HTTP requests you were expecting.
      RecordedRequest request1 = server.takeRequest();
      assertEquals("/v1/chat/messages/", request1.getPath());
      assertNotNull(request1.getHeader("Authorization"));
    
      RecordedRequest request2 = server.takeRequest();
      assertEquals("/v1/chat/messages/2", request2.getPath());
    
      RecordedRequest request3 = server.takeRequest();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

            }
    
            if (SingletonLaContainerFactory.getExternalContext().getRequest() != null) {
                return LaRequestUtil.getOptionalRequest().map(request -> {
                    final String userAgent = request.getHeader("user-agent");
                    if (StringUtil.isBlank(userAgent)) {
                        return false;
                    }
    
                    return pathMapping.getUAMatcher(userAgent).find();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        var method: String? = recordedRequest.method
        var path: String? = recordedRequest.path
        var headers: Headers = recordedRequest.headers
        val header: String? = recordedRequest.getHeader("")
        var chunkSizes: List<Int> = recordedRequest.chunkSizes
        var bodySize: Long = recordedRequest.bodySize
        var body: Buffer = recordedRequest.body
        var utf8Body: String = recordedRequest.body.readUtf8()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

        }
    
        public String getAccessTokenFromRequest(final HttpServletRequest request) {
            final String token = request.getHeader("Authorization");
            if (token != null) {
                final String[] values = token.trim().split(" ");
                if (values.length == 2 && BEARER.equals(values[0])) {
                    return values[1];
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

      @Deprecated(
        message = "Use body.readUtf8()",
        replaceWith = ReplaceWith("body.readUtf8()"),
        level = DeprecationLevel.WARNING,
      )
      fun getUtf8Body(): String = body.readUtf8()
    
      fun getHeader(name: String): String? = headers.values(name).firstOrNull()
    
      override fun toString(): String = requestLine
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. 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)
Back to top