public interface CombiningReplyParser<T1,T2>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CombiningReplyParser.PartialReplyHandler<T1,T2,R> |
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2> CombiningReplyParser<T1,T2> |
combine(ReplyParser<? extends T1> parser1,
ReplyParser<? extends T2> parser2) |
default <R> ReplyParser<R> |
mapToParser(BiFunction<? super T1,? super T2,? extends R> mapper) |
<U> U |
parseReply(ByteBuffer buffer,
BiFunction<? super T1,? super T2,? extends U> resultHandler,
CombiningReplyParser.PartialReplyHandler<? super T1,? super T2,U> partialReplyHandler,
ReplyParser.FailureHandler<U> failureHandler,
CharsetDecoder charsetDecoder) |
static <T1,T2> CombiningReplyParser<T1,T2> combine(ReplyParser<? extends T1> parser1, ReplyParser<? extends T2> parser2)
<U> U parseReply(ByteBuffer buffer, BiFunction<? super T1,? super T2,? extends U> resultHandler, CombiningReplyParser.PartialReplyHandler<? super T1,? super T2,U> partialReplyHandler, ReplyParser.FailureHandler<U> failureHandler, CharsetDecoder charsetDecoder)
default <R> ReplyParser<R> mapToParser(BiFunction<? super T1,? super T2,? extends R> mapper)
Copyright © 2016. All rights reserved.