CADI.Common.Network.HTTP
Interface StatusCodes
- All Known Implementing Classes:
- HTTPRequestDecoder, HTTPRequestReader, JPIPRequestDecoder, JPIPRequestEncoder, Worker
public interface StatusCodes
This interface defines all allowed values for the status code of the HTTP
response.
- Version:
- 1.0 2007/10/26
- Author:
- Group on Interactive Coding of Images (GICI)
|
Field Summary |
static int |
ACCEPTED
Servers should issue this status code if the view-window request was
acceptable, but a subsequent view-window request was found in the queue
which consequently superseded the request (because wait=no). |
static int |
BAD_REQUEST
Servers should issue this status code if the request is incorrectly
formatted, or contains an unrecognized field in the query string. |
static int |
NOT_FOUND
This status code should be issued if the server cannot reconcile the
requested resource with an issued Target ID. |
static int |
NOT_IMPLEMENTED
This status code may be used if a portion of this Recommendation |
International Standard that is required by the request cannot be serviced. |
static int |
OK
The server should use this status code if it accepts the view-window
request for processing, possibly with some modifications to the requested
view-window, as indicated by additional headers included in the reply |
static int |
SERVICE_UNAVAILABLE
This status code should be used if a channel id specified in the Channel
ID request field is invalid. |
static int |
UNSUPPORTED_MEDIA_TYPE
This status code may be used if the single image type specified in the
Image Return Type request field cannot be serviced. |
OK
static final int OK
- The server should use this status code if it accepts the view-window
request for processing, possibly with some modifications to the requested
view-window, as indicated by additional headers included in the reply
- See Also:
- Constant Field Values
ACCEPTED
static final int ACCEPTED
- Servers should issue this status code if the view-window request was
acceptable, but a subsequent view-window request was found in the queue
which consequently superseded the request (because wait=no). When the
first request becomes irrelevant before the server is able to process and
commence transmission of a response, then the 202 status code shall be
used. This is a common occurrence in practice, since an interactive user
may change his/her region of interest multiple times before the server
finishes responding to an earlier request, or before the server is
prepared to interrupt ongoing processing.
- See Also:
- Constant Field Values
BAD_REQUEST
static final int BAD_REQUEST
- Servers should issue this status code if the request is incorrectly
formatted, or contains an unrecognized field in the query string.
- See Also:
- Constant Field Values
NOT_FOUND
static final int NOT_FOUND
- This status code should be issued if the server cannot reconcile the
requested resource with an issued Target ID. This may result from
unauthorized access attempts or, more likely, from a time limit expiring.
If the client misses this time window, due to a poor connection, it may
find that the Target ID is no longer active.
- See Also:
- Constant Field Values
UNSUPPORTED_MEDIA_TYPE
static final int UNSUPPORTED_MEDIA_TYPE
- This status code may be used if the single image type specified in the
Image Return Type request field cannot be serviced.
- See Also:
- Constant Field Values
NOT_IMPLEMENTED
static final int NOT_IMPLEMENTED
- This status code may be used if a portion of this Recommendation |
International Standard that is required by the request cannot be serviced.
- See Also:
- Constant Field Values
SERVICE_UNAVAILABLE
static final int SERVICE_UNAVAILABLE
- This status code should be used if a channel id specified in the Channel
ID request field is invalid.
- See Also:
- Constant Field Values
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)