Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for getHeaders (0.14 sec)

  1. 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)
  2. src/main/java/jcifs/smb1/http/NtlmSsp.java

        public static NtlmPasswordAuthentication authenticate(
                HttpServletRequest req, HttpServletResponse resp, byte[] challenge)
                        throws IOException, ServletException {
            String msg = req.getHeader("Authorization");
            if (msg != null && msg.startsWith("NTLM ")) {
                byte[] src = Base64.decode(msg.substring(5));
                if (src[8] == 1) {
                    Type1Message type1 = new Type1Message(src);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/http/NtlmServlet.java

            Address dc;
            boolean offerBasic = this.enableBasic && ( this.insecureBasic || request.isSecure() );
            String msg = request.getHeader("Authorization");
            if ( msg != null && ( msg.startsWith("NTLM ") || ( offerBasic && msg.startsWith("Basic ") ) ) ) {
                if ( this.loadBalance ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmServlet.java

            UniAddress dc;
            boolean offerBasic = enableBasic &&
                    (insecureBasic || request.isSecure());
            String msg = request.getHeader("Authorization");
            if (msg != null && (msg.startsWith("NTLM ") ||
                        (offerBasic && msg.startsWith("Basic ")))) {
                if( loadBalance ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                    boolean skipAuthentication ) throws IOException, ServletException {
            UniAddress dc;
            String msg;
            NtlmPasswordAuthentication ntlm = null;
            msg = req.getHeader( "Authorization" );
            boolean offerBasic = enableBasic && (insecureBasic || req.isSecure());
    
            if( msg != null && (msg.startsWith( "NTLM " ) ||
                        (offerBasic && msg.startsWith("Basic ")))) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                l.clearValue();
            }
            storage.clear();
        }
    
        /**
         * Return the comment header.
         *
         * @return the comment header
         */
        public List<String> getHeader() {
            return header;
        }
    
        /**
         * Set the comment header.
         *
         * @param header the header to use
         */
        public void setHeader(List<String> header) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
            final SearchHelper searchHelper = ComponentUtil.getSearchHelper();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            if (!fessConfig.isAcceptedSearchReferer(request.getHeader("referer"))) {
                writeJsonResponse(HttpServletResponse.SC_BAD_REQUEST, escapeJsonKeyValue(MESSAGE_FIELD, "Referer is invalid."));
                return;
            }
    
            if (!fessConfig.isApiSearchScroll()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top