blob: 6582d7bafe0f7f28fdd1a789962e71c7e7b0e234 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.update.internal.core;
/**
* HTTP status codes.
* <p>
* <b>Note:</b> This class/interface is part of an interim API that is still under
* development and expected to change significantly before reaching stability.
* It is being made available at this early stage to solicit feedback from pioneering
* adopters on the understanding that any code that uses this API will almost
* certainly be broken (repeatedly) as the API evolves.
* </p>
*/
public interface IStatusCodes {
public static final int HTTP_CONTINUE = 100;
public static final int HTTP_SWITCHING_PROTOCOLS = 101;
public static final int HTTP_OK = 200;
public static final int HTTP_CREATED = 201;
public static final int HTTP_ACCEPTED = 202;
public static final int HTTP_NON_AUTHORITATIVE_INFORMATION = 203;
public static final int HTTP_NO_CONTENT = 204;
public static final int HTTP_RESET_CONTENT = 205;
public static final int HTTP_PARTIAL_CONTENT = 206;
public static final int HTTP_MULTIPLE_CHOICES = 300;
public static final int HTTP_MOVED_PERMANENTLY = 301;
public static final int HTTP_MOVED_TEMPORARILY = 302;
public static final int HTTP_SEE_OTHER = 303;
public static final int HTTP_NOT_MODIFIED = 304;
public static final int HTTP_USE_PROXY = 305;
public static final int HTTP_TEMPORARY_REDIRECT = 307;
public static final int HTTP_BAD_REQUEST = 400;
public static final int HTTP_UNAUTHORIZED = 401;
public static final int HTTP_PAYMENT_REQUIRED = 402;
public static final int HTTP_FORBIDDEN = 403;
public static final int HTTP_NOT_FOUND = 404;
public static final int HTTP_METHOD_NOT_ALLOWED = 405;
public static final int HTTP_NOT_ACCEPTABLE = 406;
public static final int HTTP_PROXY_AUTHENTICATION_REQUIRED = 407;
public static final int HTTP_REQUEST_TIMEOUT = 408;
public static final int HTTP_CONFLICT = 409;
public static final int HTTP_GONE = 410;
public static final int HTTP_LENGTH_REQUIRED = 411;
public static final int HTTP_PRECONDITION_FAILED = 412;
public static final int HTTP_REQUEST_TOO_LONG = 413;
public static final int HTTP_REQUEST_URI_TOO_LONG = 414;
public static final int HTTP_UNSUPPORTED_MEDIA_TYPE = 415;
public static final int HTTP_REQUESTED_RANGE_NOT_SATISFIABLE = 416;
public static final int HTTP_EXPECTATION_FAILED = 417;
public static final int HTTP_INTERNAL_SERVER_ERROR = 500;
public static final int HTTP_NOT_IMPLEMENTED = 501;
public static final int HTTP_BAD_GATEWAY = 502;
public static final int HTTP_SERVICE_UNAVAILABLE = 503;
public static final int HTTP_GATEWAY_TIMEOUT = 504;
public static final int HTTP_HTTP_VERSION_NOT_SUPPORTED = 505;
}