com.dg.libs.rest.domain.RequestWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-rest Show documentation
Show all versions of android-rest Show documentation
This is a library for android for Making RestFul Requests
package com.dg.libs.rest.domain;
import com.dg.libs.rest.HttpRequest;
public class RequestWrapper {
public static final String TAG = RequestWrapper.class.getSimpleName();
private final HttpRequest request;
private final RequestOptions options;
public RequestWrapper(HttpRequest request, RequestOptions options) {
super();
this.request = request;
if (options != null) {
this.options = options;
} else {
this.options = new RequestOptions();
}
}
public HttpRequest getRequest() {
return request;
}
public RequestOptions getOptions() {
return options;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy