X-Git-Url: https://juplo.de/gitweb/?p=website;a=blobdiff_plain;f=dist%2Ffacebook-utils-2.5.0%2Fapidocs%2Fde%2Fjuplo%2Ffacebook%2Fclient%2FGraphApiErrorHandler.html;fp=dist%2Ffacebook-utils-2.5.0%2Fapidocs%2Fde%2Fjuplo%2Ffacebook%2Fclient%2FGraphApiErrorHandler.html;h=ee7aa8fa3b20017153867b5079653942389e8cd5;hp=0000000000000000000000000000000000000000;hb=a53595184bd6e57bdc45292cc92c393c4e2dfe6e;hpb=c48c9ee0e9faa89a4c0a5323b367b9f5a6abe602 diff --git a/dist/facebook-utils-2.5.0/apidocs/de/juplo/facebook/client/GraphApiErrorHandler.html b/dist/facebook-utils-2.5.0/apidocs/de/juplo/facebook/client/GraphApiErrorHandler.html new file mode 100644 index 00000000..ee7aa8fa --- /dev/null +++ b/dist/facebook-utils-2.5.0/apidocs/de/juplo/facebook/client/GraphApiErrorHandler.html @@ -0,0 +1,323 @@ + + + +
+ + +public class GraphApiErrorHandler +extends Object +implements org.springframework.web.client.ResponseErrorHandler+
+ This error-handler handels responses withe the HTTP-status code
+ 400 BAD REQUEST
. It tries to extract and parse the error-message
+ from the HTTP-body. Successfully extracted and parsed messages are mapped
+ to a hierarchy of exceptions, that reflects the hierarchy of the error-
+ codes and -types.
+
+ If the HTTP-status-code of the response is not 400 BAD REQUEST
or
+ the HTTP-body could not be extracted or parsed, this error-handler
+ delegates the handling to its parent.
Constructor and Description | +
---|
GraphApiErrorHandler(org.springframework.web.client.ResponseErrorHandler errorHandler) |
+
Modifier and Type | +Method and Description | +
---|---|
void |
+handleError(org.springframework.http.client.ClientHttpResponse response) |
+
boolean |
+hasError(org.springframework.http.client.ClientHttpResponse response) |
+
public GraphApiErrorHandler(org.springframework.web.client.ResponseErrorHandler errorHandler)+
public boolean hasError(org.springframework.http.client.ClientHttpResponse response) + throws IOException+
hasError
in interface org.springframework.web.client.ResponseErrorHandler
IOException
public void handleError(org.springframework.http.client.ClientHttpResponse response) + throws IOException+
handleError
in interface org.springframework.web.client.ResponseErrorHandler
IOException
Copyright © 2015. All rights reserved.
+ +