Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@ dependencies {

implementation 'com.google.android.material:material:1.11.0'

compileOnly "org.projectlombok:lombok:1.18.32"
annotationProcessor "org.projectlombok:lombok:1.18.32"

api 'com.google.code.gson:gson:2.10.1'

implementation 'io.reactivex.rxjava2:rxjava:2.2.21'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/
package com.nextcloud.android.sso.aidl;

import androidx.annotation.NonNull;
import androidx.core.util.ObjectsCompat;
import androidx.core.util.Pair;

Expand All @@ -25,9 +26,10 @@
import java.util.List;
import java.util.Map;

import lombok.ToString;

@ToString
/**
* This class represents a request to the Nextcloud server.
* It contains all necessary information to perform a request.
*/
public class NextcloudRequest implements Serializable {

private static final long serialVersionUID = 215521212534240L; //assign a long value
Expand Down Expand Up @@ -288,4 +290,21 @@ public boolean equals(Object obj) {
return equal;
}

@NonNull
@Override
public String toString() {
return "NextcloudRequest{" +
"method='" + method + '\'' +
", header=" + header +
", parameter=" + parameter +
", requestBody='" + requestBody + '\'' +
", url='" + url + '\'' +
", token='" + token + '\'' +
", packageName='" + packageName + '\'' +
", accountName='" + accountName + '\'' +
", bodyAsStream=" + bodyAsStream +
", followRedirects=" + followRedirects +
", parameterV2=" + parameterV2 +
'}';
}
}