
org.johnnei.enjin.internal.RequestWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enjin-api-impl Show documentation
Show all versions of enjin-api-impl Show documentation
The specification of the Enjin API
The newest version!
package org.johnnei.enjin.internal;
import org.johnnei.enjin.spec.dto.auth.IAuthToken;
public class RequestWrapper extends EnjinWrapper {
private final T params;
private IAuthToken authToken;
public RequestWrapper(String method, T params, IAuthToken authToken) {
super(method);
this.params = params;
this.authToken = authToken;
}
public RequestWrapper(String method, T params) {
this(method, params, null);
}
public T getParams() {
return params;
}
public IAuthToken getAuthToken() {
return authToken;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy