public abstract class Caller extends Chain
Chain.Buffer, Chain.Reader| Modifier and Type | Field and Description |
|---|---|
protected Job |
job |
protected Plan |
plan |
protected Supplier |
supplier |
bucket, count, EMPTY_BYTES, EMPTY_CHARS, hash, type, value| Modifier | Constructor and Description |
|---|---|
protected |
Caller(@Nullable Bucket bucket) |
| Modifier and Type | Method and Description |
|---|---|
Job |
getJob()
Returns the internal
Job |
Supplier |
getSupplier()
Returns the internal
Supplier |
@NotNull Job |
job()
Returns the specified
Job |
<E,T extends E> |
solve(@NotNull Class<E> klass,
@NotNull Job job,
@NotNull Event<T> event)
Parse
Event and convert result to T |
protected void |
stream(@NotNull InputStream in) |
@NotNull Value |
subSequence(int start,
int end)
|
<E,T extends E> |
to(@NotNull Class<E> klass)
Parse this
Client and convert result to T |
<E,T extends E> |
to(@NotNull Job job,
@NotNull Class<E> klass)
Parse this
Client and convert result to T |
<T> T |
to(@NotNull Job job,
@NotNull Type type)
Parse this
Client and convert result to T |
Caller |
with(@NotNull Job target)
Use the specified
Job |
Caller |
with(@NotNull Plan target)
Use the specified
Plan |
Caller |
with(@NotNull Supplier target)
Use the specified
Supplier |
at, byteAt, capacity, chain, chain, chain, chain, chain, chain, chain, chain, charAt, clean, clear, close, compareTo, contains, contains, contains, copyBytes, copyBytes, copyChars, copyChars, digest, digest, digest, doFinal, doFinal, endsWith, equals, fromBase, fromMime, fromSafe, get, get, getBytes, getBytes, getType, getValue, grow, hashCode, head, head, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, is, is, is, is, is, is, isBlank, isEmpty, isNotBlank, isNotEmpty, isShared, isSole, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, length, reader, reader, setType, sole, startWith, string, string, string, swop, tail, tail, toBase, toBase64, toBoolean, toBoolean, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toInt, toLong, toLong, toLong, toMime, toMime64, toNumber, toNumber, toSafe, toSafe64, toString, toString, toString, toString, update, update, update, update, update, update, update, update, update, updateclone, finalize, getClass, notify, notifyAll, wait, wait, waitchars, codePointsprotected void stream(@NotNull @NotNull InputStream in)
in - the specified InputStream@NotNull public @NotNull Value subSequence(int start, int end)
start - the start index, inclusiveend - the end index, exclusivepublic Caller with(@NotNull @NotNull Job target)
Jobtarget - the specified jobpublic Caller with(@NotNull @NotNull Plan target)
Plantarget - the specified planNullPointerException - If the target is nullpublic Caller with(@NotNull @NotNull Supplier target)
Suppliertarget - the specified supplierNullPointerException - If the target is null@Nullable public <T> T to(@NotNull @NotNull Job job, @NotNull @NotNull Type type)
Client and convert result to T@Nullable public <E,T extends E> T to(@NotNull @NotNull Class<E> klass)
Client and convert result to TRunCrash - If no specified job@Nullable public <E,T extends E> T to(@NotNull @NotNull Job job, @NotNull @NotNull Class<E> klass)
Client and convert result to T@Nullable public <E,T extends E> T solve(@NotNull @NotNull Class<E> klass, @NotNull @NotNull Job job, @NotNull @NotNull Event<T> event)
Event and convert result to T@NotNull public @NotNull Job job()
JobRunCrash - If no specified jobCopyright © 2022 Kat+ Team. All rights reserved.