public class MinecraftProfileRequest extends net.lenni0451.commons.httpclient.requests.impl.GetRequest implements MinecraftServicesResponseHandler<MinecraftProfile>
| Constructor and Description |
|---|
MinecraftProfileRequest(MinecraftToken token) |
| Modifier and Type | Method and Description |
|---|---|
MinecraftProfile |
handle(net.lenni0451.commons.httpclient.HttpResponse response,
net.lenni0451.commons.gson.elements.GsonObject json) |
void |
handleError(net.lenni0451.commons.httpclient.HttpResponse response,
net.lenni0451.commons.gson.elements.GsonObject json) |
bind, execute, execute, getCookieManager, getFollowRedirects, getIgnoreInvalidSSL, getMethod, getRetryHandler, getURL, isCookieManagerSet, isIgnoreInvalidSSLSet, isRetryHandlerSet, isStreamedRequest, isStreamedResponse, setCookieManager, setFollowRedirects, setFollowRedirects, setIgnoreInvalidSSL, setRetryHandler, setStreamedRequest, setStreamedResponse, unsetCookieManager, unsetIgnoreInvalidSSL, unsetRetryHandlerappendHeader, appendHeader, appendHeader, clearHeaders, forEachHeader, getFirstHeader, getHeader, getHeaders, getLastHeader, hasHeader, hasHeader, hasHeader, removeHeader, setHeader, setHeader, setHeaderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlepublic MinecraftProfileRequest(MinecraftToken token) throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic MinecraftProfile handle(net.lenni0451.commons.httpclient.HttpResponse response, net.lenni0451.commons.gson.elements.GsonObject json) throws java.io.IOException
handle in interface JsonHttpResponseHandler<MinecraftProfile>java.io.IOExceptionpublic void handleError(net.lenni0451.commons.httpclient.HttpResponse response,
net.lenni0451.commons.gson.elements.GsonObject json)
throws java.io.IOException
handleError in interface MinecraftServicesResponseHandler<MinecraftProfile>handleError in interface JsonHttpResponseHandler<MinecraftProfile>java.io.IOException