最后在 registerHandlerMethod() 方法中,将 RequestMappingInfo 作为 key,把 Method 包装成 HandlerMethod 作为 value 添加到了 Map<T, HandlerMethod> handlerMethods 中。 protected void registerHandlerMethod(Object handler, Method method, T mapping) { HandlerMethod newHandlerMethod = createHandlerMethod(handler...
428 “Precondition Required”– The server requires the request to be conditional. In most cases, this response is used to prevent conflicts when a client uses the GET method to request a resource, modifies it, and then uses PUT to upload the new version while another party may have also ...
200 — OK: This is the standard response for successful HTTP requests. The actual meaning of the response depends on the request method used: GET: Resource obtained and is in the message body HEAD: Headers are included in the response POST or PUT: Resource describing the result of the actio...
From class com.google.android.gms.common.api.CommonStatusCodes Public Method Summary staticString getStatusCodeString(int statusCode) Returns an untranslated debug (not user-friendly!) string based on the current status code. Inherited Method Summary ...
KnownIngressTransportMethod KnownIpFilterTag KnownKeyType KnownKind KnownLoadBalancingMode KnownOpenAuthenticationProviderType KnownParameterType KnownProviderOsTypeSelected KnownProviderStackOsType KnownPublishingProfileFormat KnownRecurrenceFrequency KnownResourceNotRenewableReason KnownResourceScopeType KnownRevisionHealth...
CodeDescriptionNotes 405.0Method not allowed.The request is made by using an HTTP method that isn't valid. For more information, seeHTTP Error 405.0. 406.0Invalid MIME type.The request is made by using anAcceptheader that contains a MIME value that isn't valid. ...
In view of the PUT, the DELETE method will write operation on the server resources, so most of the web server does not support the request or method is not allowed in the default configuration, for such requests will return to the 405 error. [Edit] 406, Not, Acceptable The requested ...
KnownIngressTransportMethod KnownIpFilterTag KnownKeyType KnownKind KnownLoadBalancingMode KnownOpenAuthenticationProviderType KnownParameterType KnownProviderOsTypeSelected KnownProviderStackOsType KnownPublishingProfileFormat KnownRecurrenceFrequency KnownResourceNotRenewableReason KnownResourceScopeType KnownRevision...
505 Version Not SupportedNoHTTP version is higher than 1.1, and method is not recognized for highest version supported by CICS.Yes CICS as an HTTP server: Status codes in user applications Table 2shows each status code, describes its relevance for a user application, and suggests appropriate acti...