Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for setReader (0.16 sec)

  1. docs/debugging/xattr/main.go

    	}
    
    	if !set && value > 0 {
    		log.Fatalln("to set a value please specify --set along with --value")
    	}
    
    	table := tablewriter.NewWriter(os.Stdout)
    	table.SetHeader([]string{"Name", "Value"})
    	table.SetAutoWrapText(false)
    	table.SetAutoFormatHeaders(true)
    	table.SetHeaderAlignment(tablewriter.ALIGN_LEFT)
    	table.SetAlignment(tablewriter.ALIGN_LEFT)
    	table.SetCenterSeparator("")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/curl/CurlResponse.java

        public void setContentException(final Exception e) {
            contentException = e;
        }
    
        public Exception getContentException() {
            return contentException;
        }
    
        public void setHeaders(final Map<String, List<String>> headers) {
            if (headers != null) {
                final Map<String, List<String>> map = new HashMap<>();
                headers.entrySet().stream().filter(e -> e.getKey() != null)
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

            .build()
        url = server.url("/")
      }
    
      @Test
      fun get() {
        assumeNotWindows()
        server.enqueue(
          MockResponse.Builder()
            .body("Hello!")
            .setHeader("Content-Type", PLAIN)
            .build(),
        )
        val response = client.newCall(request().build()).execute()
        assertThat(response.body).isNotNull()
        response.body.bytes()
        logRecorder
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                }
            }
        }
    
        protected static Date getReceivedDate(final Message message) throws MessagingException {
            final Date today = new Date();
            final String[] received = message.getHeader("received");
            if (received != null) {
                for (final String v : received) {
                    String dateStr = null;
                    try {
                        dateStr = getDateString(v);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. 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)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

            nonNull(request, "request");
            Path path = request.getPath();
            URL url = request.getURL();
            Reader reader = request.getReader();
            InputStream inputStream = request.getInputStream();
            if (path == null && url == null && reader == null && inputStream == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                        logger.debug("principal: {}", principal);
                    }
                } catch (final Exception e) {
                    final String msg = "Failed to process Authorization Header: " + request.getHeader(Constants.AUTHZ_HEADER);
                    if (logger.isDebugEnabled()) {
                        logger.debug(msg);
                    }
                    throw new SsoLoginException(e.getMessage() + " " + msg, e);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top