A B C E F G H I M N O R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractHttpResultWrapper<T,E> - Class in com.hubspot.algebra
- AbstractHttpResultWrapper() - Constructor for class com.hubspot.algebra.AbstractHttpResultWrapper
B
- build() - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
-
Builds a new
HttpResultWrapper. - builder() - Static method in class com.hubspot.algebra.HttpResultWrapper
-
Creates a builder for
HttpResultWrapper.
C
- com.hubspot.algebra - package com.hubspot.algebra
- consume(Consumer<? super ERROR_TYPE>, Consumer<? super SUCCESS_TYPE>) - Method in class com.hubspot.algebra.Result
- copyOf(AbstractHttpResultWrapper<T, E>) - Static method in class com.hubspot.algebra.HttpResultWrapper
-
Creates an immutable copy of a
AbstractHttpResultWrappervalue.
E
- equals(Object) - Method in class com.hubspot.algebra.HttpResultWrapper
-
This instance is equal to all instances of
HttpResultWrapperthat have equal attribute values. - equals(Object) - Method in class com.hubspot.algebra.Result
- err(E, int) - Static method in class com.hubspot.algebra.AbstractHttpResultWrapper
- err(ERROR_TYPE) - Static method in class com.hubspot.algebra.Result
- error(ERROR_TYPE) - Static method in class com.hubspot.algebra.VoidResult
-
Deprecated.
- expect(String) - Method in class com.hubspot.algebra.Result
- expectErr(String) - Method in class com.hubspot.algebra.Result
F
- flatMapErr(Function<ERROR_TYPE, Result<SUCCESS_TYPE, NEW_ERROR_TYPE>>) - Method in class com.hubspot.algebra.Result
- flatMapOk(Function<Void, Result<NEW_SUCCESS_TYPE, ERROR_TYPE>>) - Method in class com.hubspot.algebra.VoidResult
-
Deprecated.
- flatMapOk(Function<SUCCESS_TYPE, Result<NEW_SUCCESS_TYPE, ERROR_TYPE>>) - Method in class com.hubspot.algebra.Result
- from(AbstractHttpResultWrapper<T, E>) - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
-
Fill a builder with attribute values from the provided
AbstractHttpResultWrapperinstance.
G
- get() - Static method in enum com.hubspot.algebra.NullValue
- getErrResultMaybe() - Method in class com.hubspot.algebra.AbstractHttpResultWrapper
- getErrResultMaybe() - Method in class com.hubspot.algebra.HttpResultWrapper
- getHttpStatusCode() - Method in class com.hubspot.algebra.AbstractHttpResultWrapper
- getHttpStatusCode() - Method in class com.hubspot.algebra.HttpResultWrapper
- getOkResultMaybe() - Method in class com.hubspot.algebra.AbstractHttpResultWrapper
- getOkResultMaybe() - Method in class com.hubspot.algebra.HttpResultWrapper
- getStatusCode() - Method in interface com.hubspot.algebra.HttpError
H
- hashCode() - Method in class com.hubspot.algebra.HttpResultWrapper
-
Computes a hash code from attributes:
okResultMaybe,errResultMaybe,httpStatusCode. - hashCode() - Method in class com.hubspot.algebra.Result
- HttpError - Interface in com.hubspot.algebra
- HttpResultWrapper<T,E> - Class in com.hubspot.algebra
-
Immutable implementation of
AbstractHttpResultWrapper. - HttpResultWrapper.Builder<T,E> - Class in com.hubspot.algebra
-
Builds instances of type
HttpResultWrapper.
I
- ifErr(Consumer<? super ERROR_TYPE>) - Method in class com.hubspot.algebra.Result
- ifOk(Consumer<? super Void>) - Method in class com.hubspot.algebra.VoidResult
-
Deprecated.
- ifOk(Consumer<? super SUCCESS_TYPE>) - Method in class com.hubspot.algebra.Result
- INSTANCE - com.hubspot.algebra.NullValue
-
Deprecated.Call
NullValue.get()instead of accessing this enum constant directly. - isErr() - Method in class com.hubspot.algebra.Result
- isOk() - Method in class com.hubspot.algebra.Result
- isOk() - Method in class com.hubspot.algebra.VoidResult
-
Deprecated.
M
- mapErr(Function<ERROR_TYPE, NEW_ERROR_TYPE>) - Method in class com.hubspot.algebra.Result
- mapOk(Function<Void, NEW_SUCCESS_TYPE>) - Method in class com.hubspot.algebra.VoidResult
-
Deprecated.
- mapOk(Function<SUCCESS_TYPE, NEW_SUCCESS_TYPE>) - Method in class com.hubspot.algebra.Result
- match(Function<ERROR_TYPE, R>, Function<Void, R>) - Method in class com.hubspot.algebra.VoidResult
-
Deprecated.
- match(Function<ERROR_TYPE, R>, Function<SUCCESS_TYPE, R>) - Method in class com.hubspot.algebra.Result
N
- nullErr() - Static method in class com.hubspot.algebra.Result
- nullOk() - Static method in class com.hubspot.algebra.Result
- NullValue - Enum in com.hubspot.algebra
O
- ok() - Static method in class com.hubspot.algebra.VoidResult
-
Deprecated.
- ok(SUCCESS_TYPE) - Static method in class com.hubspot.algebra.Result
- ok(T) - Static method in class com.hubspot.algebra.AbstractHttpResultWrapper
R
- Result<SUCCESS_TYPE,ERROR_TYPE> - Class in com.hubspot.algebra
S
- setErrResultMaybe(E) - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
-
Initializes the optional value
errResultMaybeto errResultMaybe. - setErrResultMaybe(Optional<? extends E>) - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
-
Initializes the optional value
errResultMaybeto errResultMaybe. - setHttpStatusCode(int) - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
-
Initializes the value for the
httpStatusCodeattribute. - setOkResultMaybe(Optional<? extends T>) - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
-
Initializes the optional value
okResultMaybeto okResultMaybe. - setOkResultMaybe(T) - Method in class com.hubspot.algebra.HttpResultWrapper.Builder
-
Initializes the optional value
okResultMaybeto okResultMaybe.
T
- toString() - Method in class com.hubspot.algebra.HttpResultWrapper
-
Prints the immutable value
HttpResultWrapperwith attribute values. - toString() - Method in class com.hubspot.algebra.Result
U
- unwrap() - Method in class com.hubspot.algebra.AbstractHttpResultWrapper
- unwrapErrOrElseThrow() - Method in class com.hubspot.algebra.Result
- unwrapErrOrElseThrow(Function<SUCCESS_TYPE, ? extends X>) - Method in class com.hubspot.algebra.Result
- unwrapErrOrElseThrow(Supplier<? extends X>) - Method in class com.hubspot.algebra.Result
- unwrapOrElseThrow() - Method in class com.hubspot.algebra.Result
- unwrapOrElseThrow(Function<ERROR_TYPE, ? extends X>) - Method in class com.hubspot.algebra.Result
- unwrapOrElseThrow(Supplier<? extends X>) - Method in class com.hubspot.algebra.Result
V
- valueOf(String) - Static method in enum com.hubspot.algebra.NullValue
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.hubspot.algebra.NullValue
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VoidResult<ERROR_TYPE> - Class in com.hubspot.algebra
-
Deprecated.use
Result.nullOk()instead.
W
- withErrResultMaybe(E) - Method in class com.hubspot.algebra.HttpResultWrapper
-
Copy the current immutable object by setting a present value for the optional
errResultMaybeattribute. - withErrResultMaybe(Optional<? extends E>) - Method in class com.hubspot.algebra.HttpResultWrapper
-
Copy the current immutable object by setting an optional value for the
errResultMaybeattribute. - withHttpStatusCode(int) - Method in class com.hubspot.algebra.HttpResultWrapper
-
Copy the current immutable object by setting a value for the
httpStatusCodeattribute. - withOkResultMaybe(Optional<? extends T>) - Method in class com.hubspot.algebra.HttpResultWrapper
-
Copy the current immutable object by setting an optional value for the
okResultMaybeattribute. - withOkResultMaybe(T) - Method in class com.hubspot.algebra.HttpResultWrapper
-
Copy the current immutable object by setting a present value for the optional
okResultMaybeattribute.
All Classes All Packages