Package pro.gravit.launchserver
Class HttpRequester.SimpleErrorHandler<T>
java.lang.Object
pro.gravit.launchserver.HttpRequester.SimpleErrorHandler<T>
- All Implemented Interfaces:
HttpHelper.HttpErrorHandler<T,,HttpRequester.SimpleError> HttpHelper.HttpJsonErrorHandler<T,HttpRequester.SimpleError>
- Enclosing class:
HttpRequester
public static class HttpRequester.SimpleErrorHandler<T>
extends Object
implements HttpHelper.HttpJsonErrorHandler<T,HttpRequester.SimpleError>
-
Method Summary
Modifier and TypeMethodDescriptionapplyJson(com.google.gson.JsonElement response, int statusCode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pro.gravit.launchserver.helper.HttpHelper.HttpJsonErrorHandler
apply
-
Method Details
-
applyJson
public HttpHelper.HttpOptional<T,HttpRequester.SimpleError> applyJson(com.google.gson.JsonElement response, int statusCode) - Specified by:
applyJsonin interfaceHttpHelper.HttpJsonErrorHandler<T,HttpRequester.SimpleError>
-