public class ValiktorResponse<T>
Represents the HTTP response.
public ValiktorResponse(@NotNull
org.springframework.http.HttpStatus statusCode,
@Nullable
org.springframework.http.HttpHeaders headers,
@NotNull
T body)
Represents the HTTP response.
statusCode - represents the HTTP response status codeheaders - represents the HTTP response headersbody - represents the HTTP response body@NotNull public org.springframework.http.HttpStatus getStatusCode()
represents the HTTP response status code
@Nullable public org.springframework.http.HttpHeaders getHeaders()
represents the HTTP response headers
@NotNull public T getBody()
represents the HTTP response body
interface ValiktorExceptionHandler@NotNull public org.springframework.http.HttpStatus component1()
represents the HTTP response status code
@Nullable public org.springframework.http.HttpHeaders component2()
represents the HTTP response headers
@NotNull public T component3()
represents the HTTP response body
interface ValiktorExceptionHandler@NotNull public ValiktorResponse<T> copy(@NotNull org.springframework.http.HttpStatus statusCode, @Nullable org.springframework.http.HttpHeaders headers, @NotNull T body)
Represents the HTTP response.
@NotNull public java.lang.String toString()
Represents the HTTP response.
public int hashCode()
Represents the HTTP response.
public boolean equals(@Nullable
java.lang.Object p)
Represents the HTTP response.