Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for webApiException (0.11 sec)

  1. src/main/java/org/codelibs/fess/exception/WebApiException.java

     */
    package org.codelibs.fess.exception;
    
    public class WebApiException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        private final int statusCode;
    
        public int getStatusCode() {
            return statusCode;
        }
    
        public WebApiException(final int statusCode, final String message, final Throwable cause) {
            super(message, cause);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/WebApiUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import org.codelibs.fess.exception.WebApiException;
    import org.lastaflute.web.util.LaRequestUtil;
    
    public final class WebApiUtil {
    
        private static final String WEB_API_EXCEPTION = "webApiException";
    
        private WebApiUtil() {
        }
    
        public static void setObject(final String name, final Object value) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    }
                    processRequest(request, response, path);
                }).orElse(() -> {
                    throw new WebApiException(HttpServletResponse.SC_FORBIDDEN, "Invalid session.");
                });
            } catch (final WebApiException e) {
                String message;
                if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                            if (StringUtil.isBlank(userCode)) {
                                throw new WebApiException(HttpServletResponse.SC_BAD_REQUEST, "No user session.");
                            }
                            if (StringUtil.isBlank(favoriteUrl)) {
                                throw new WebApiException(HttpServletResponse.SC_BAD_REQUEST, "URL is null.");
                            }
    
    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