Webservice (Geral): mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição |
Sem resumo de edição |
||
Linha 5: | Linha 5: | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#ACCEPTED ACCEPTED] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#ACCEPTED ACCEPTED] | ||
|202 Accepted, veja HTTP/1.1 documentation. | |202 Accepted, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.3 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#BAD REQUEST BAD_REQUEST] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#BAD REQUEST BAD_REQUEST] | ||
|400 Bad Request, veja HTTP/1.1 documentation. | |400 Bad Request, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#CONFLICT CONFLICT] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#CONFLICT CONFLICT] | ||
|409 Conflict, veja HTTP/1.1 documentation. | |409 Conflict, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.10 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#CREATED CREATED] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#CREATED CREATED] | ||
|201 Created, veja HTTP/1.1 documentation. | |201 Created, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.2 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#FORBIDDEN FORBIDDEN] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#FORBIDDEN FORBIDDEN] | ||
|403 Forbidden, veja HTTP/1.1 documentation. | |403 Forbidden, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#GONE GONE] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#GONE GONE] | ||
|410 Gone, veja HTTP/1.1 documentation. | |410 Gone, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.11 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#INTERNAL SERVER ERROR INTERNAL_SERVER_ERROR] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#INTERNAL SERVER ERROR INTERNAL_SERVER_ERROR] | ||
|500 Internal Server Error, veja HTTP/1.1 documentation. | |500 Internal Server Error, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#MOVED PERMANENTLY MOVED_PERMANENTLY] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#MOVED PERMANENTLY MOVED_PERMANENTLY] | ||
|301 Moved Permanently, veja HTTP/1.1 documentation. | |301 Moved Permanently, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.2 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#NO CONTENT NO_CONTENT] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#NO CONTENT NO_CONTENT] | ||
|204 No Content, veja HTTP/1.1 documentation. | |204 No Content, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.5 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#NOT ACCEPTABLE NOT_ACCEPTABLE] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#NOT ACCEPTABLE NOT_ACCEPTABLE] | ||
|406 Not Acceptable, veja HTTP/1.1 documentation. | |406 Not Acceptable, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.7 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#NOT FOUND NOT_FOUND] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#NOT FOUND NOT_FOUND] | ||
|404 Not Found, veja HTTP/1.1 documentation. | |404 Not Found, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#NOT MODIFIED NOT_MODIFIED] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#NOT MODIFIED NOT_MODIFIED] | ||
|304 Not Modified, veja HTTP/1.1 documentation. | |304 Not Modified, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.5 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#OK OK] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#OK OK] | ||
|200 OK, veja HTTP/1.1 documentation. | |200 OK, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#PRECONDITION FAILED PRECONDITION_FAILED] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#PRECONDITION FAILED PRECONDITION_FAILED] | ||
|412 Precondition Failed, veja HTTP/1.1 documentation. | |412 Precondition Failed, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.13 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#SEE OTHER SEE_OTHER] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#SEE OTHER SEE_OTHER] | ||
|303 See Other, veja HTTP/1.1 documentation. | |303 See Other, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.4 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#SERVICE UNAVAILABLE SERVICE_UNAVAILABLE] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#SERVICE UNAVAILABLE SERVICE_UNAVAILABLE] | ||
|503 Service Unavailable, veja HTTP/1.1 documentation. | |503 Service Unavailable, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.4 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#TEMPORARY REDIRECT TEMPORARY_REDIRECT] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#TEMPORARY REDIRECT TEMPORARY_REDIRECT] | ||
|307 Temporary Redirect, veja HTTP/1.1 documentation. | |307 Temporary Redirect, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.8 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#UNAUTHORIZED UNAUTHORIZED] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#UNAUTHORIZED UNAUTHORIZED] | ||
|401 Unauthorized, veja HTTP/1.1 documentation. | |401 Unauthorized, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2 veja HTTP/1.1 documentation.] | ||
|- | |- | ||
|[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#UNSUPPORTED MEDIA TYPE UNSUPPORTED_MEDIA_TYPE] | |[https://docs.oracle.com/javaee/6/api/javax/ws/rs/core/Response.Status.html#UNSUPPORTED MEDIA TYPE UNSUPPORTED_MEDIA_TYPE] | ||
|415 Unsupported Media Type, veja HTTP/1.1 documentation. | |415 Unsupported Media Type, [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.16 veja HTTP/1.1 documentation.] | ||
|} | |} |
Edição das 15h49min de 16 de maio de 2023
Todos os métodos presentes neste documento deverão ser acessados com a autenticação do tipo basic, utilizando o usuário e senha fornecidos pelos responsáveis pela manutenção do webservice. Abaixo, estão os possíveis status que os métodos podem retornar, clique nos links para mais detalhes.