jdash.client.response.impl.GDCachedObjectResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdash-client Show documentation
Show all versions of jdash-client Show documentation
The HTTP client used to pull data from Geometry Dash servers
The newest version!
package jdash.client.response.impl;
import jdash.client.response.GDResponse;
import reactor.core.publisher.Mono;
import java.util.function.Function;
public final class GDCachedObjectResponse implements GDResponse {
private final Object cached;
public GDCachedObjectResponse(Object cached) {
this.cached = cached;
}
@SuppressWarnings("unchecked")
@Override
public Mono deserialize(Function super String, E> deserializer) {
return Mono.just((E) cached);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy