Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2701 - 2710 of 6,918 for RETURN (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                    }
                }
            } catch (final UnsupportedEncodingException e) {
                return filePath;
            }
            return buf.toString();
        }
    
        protected String geCharSet(final File file) {
            return charset;
        }
    
        public String getCharset() {
            return charset;
        }
    
        public void setCharset(final String charset) {
            this.charset = charset;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/converter/DateConverter.java

        public Object getAsObject(final String value) {
            if (isEmpty(value)) {
                return null;
            }
            return DateConversionUtil.toDate(value, pattern);
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
                return null;
            }
            return StringConversionUtil.toString((Date) value, pattern);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/converter/TimeConverter.java

        public Object getAsObject(final String value) {
            if (isEmpty(value)) {
                return null;
            }
            return TimeConversionUtil.toSqlTime(value, pattern);
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
                return null;
            }
            return StringConversionUtil.toString((Date) value, pattern);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/response-change-status-code.md

    But in some cases you need to return a different status code than the default.
    
    ## Use case
    
    For example, imagine that you want to return an HTTP status code of "OK" `200` by default.
    
    But if the data didn't exist, you want to create it, and return an HTTP status code of "CREATED" `201`.
    
    But you still want to be able to filter and convert the data you return with a `response_model`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

      public final boolean hasNext() {
        return position < size;
      }
    
      @Override
      @ParametricNullness
      public final E next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        return get(position++);
      }
    
      @Override
      public final int nextIndex() {
        return position;
      }
    
      @Override
      public final boolean hasPrevious() {
        return position > 0;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  6. cmd/config-dir.go

    }
    
    func getDefaultConfigDir() string {
    	homeDir, err := homedir.Dir()
    	if err != nil {
    		return ""
    	}
    
    	return filepath.Join(homeDir, defaultMinioConfigDir)
    }
    
    func getDefaultCertsDir() string {
    	return filepath.Join(getDefaultConfigDir(), certsDir)
    }
    
    func getDefaultCertsCADir() string {
    	return filepath.Join(getDefaultCertsDir(), certsCADir)
    }
    
    var (
    	// Default config, certs and CA directories.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 3K bytes
    - Viewed (0)
  7. internal/lock/lock_solaris.go

    		f.Close()
    		if err == syscall.EAGAIN {
    			err = ErrAlreadyLocked
    		}
    		return nil, err
    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    		}
    	}
    
    	return &LockedFile{f}, nil
    }
    
    // TryLockedOpenFile - tries a new write lock, functionality
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

            return this;
        }
    
        public SuggesterBuilder contentsReadigConverter(final ReadingConverter contentsReadingConverter) {
            this.contentsReadingConverter = contentsReadingConverter;
            return this;
        }
    
        public SuggesterBuilder normalizer(final Normalizer normalizer) {
            this.normalizer = normalizer;
            return this;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

                }
                return entity;
            }).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL));
                return null;
            });
            return asJson(new ApiUpdateResponse().id(boostDoc.getId()).created(true).status(Status.OK).result());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java

        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            saveToken();
            return asListHtml();
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final Integer pageNumber, final SearchForm form) {
            failureUrlPager.setCurrentPageNumber(pageNumber);
            return asHtml(path_AdminFailureurl_AdminFailureurlJsp).renderWith(data -> {
                searchPaging(data, form);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top