This commit is contained in:
18
src/main/java/cc/fascinated/util/Tuple.java
Normal file
18
src/main/java/cc/fascinated/util/Tuple.java
Normal file
@ -0,0 +1,18 @@
|
||||
package cc.fascinated.util;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter @AllArgsConstructor
|
||||
public class Tuple<L, R> {
|
||||
|
||||
/**
|
||||
* The left value of the tuple.
|
||||
*/
|
||||
private final L left;
|
||||
|
||||
/**
|
||||
* The right value of the tuple.
|
||||
*/
|
||||
private final R right;
|
||||
}
|
@ -1,5 +1,8 @@
|
||||
package cc.fascinated.util;
|
||||
|
||||
import lombok.experimental.UtilityClass;
|
||||
|
||||
@UtilityClass
|
||||
public class UUIDUtils {
|
||||
|
||||
/**
|
||||
|
@ -1,10 +1,12 @@
|
||||
package cc.fascinated.util;
|
||||
|
||||
import lombok.experimental.UtilityClass;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
|
||||
import org.springframework.web.client.HttpClientErrorException;
|
||||
import org.springframework.web.client.RestClient;
|
||||
|
||||
@UtilityClass
|
||||
public class WebRequest {
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user