Package akka.stream.impl.io
Class ByteStringParser.ParseResult<T>
- java.lang.Object
-
- akka.stream.impl.io.ByteStringParser.ParseResult<T>
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
- Enclosing class:
- ByteStringParser<T>
public static class ByteStringParser.ParseResult<T> extends java.lang.Object implements scala.Product, scala.Serializable
param: result - parser can return some element for downstream or return None if no element was generated in this step and parsing should immediately continue with the next step. param: nextStep - next parser param: acceptUpstreamFinish - if true - stream will complete when receivedonUpstreamFinish
, if "false" - onTruncation will be called- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParseResult(scala.Option<T> result, ByteStringParser.ParseStep<T> nextStep, boolean acceptUpstreamFinish)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptUpstreamFinish()
boolean
canEqual(java.lang.Object x$1)
<T> ByteStringParser.ParseResult<T>
copy(scala.Option<T> result, ByteStringParser.ParseStep<T> nextStep, boolean acceptUpstreamFinish)
<T> scala.Option<T>
copy$default$1()
<T> ByteStringParser.ParseStep<T>
copy$default$2()
<T> boolean
copy$default$3()
boolean
equals(java.lang.Object x$1)
int
hashCode()
ByteStringParser.ParseStep<T>
nextStep()
int
productArity()
java.lang.Object
productElement(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
scala.Option<T>
result()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ParseResult
public ParseResult(scala.Option<T> result, ByteStringParser.ParseStep<T> nextStep, boolean acceptUpstreamFinish)
-
-
Method Detail
-
result
public scala.Option<T> result()
-
nextStep
public ByteStringParser.ParseStep<T> nextStep()
-
acceptUpstreamFinish
public boolean acceptUpstreamFinish()
-
copy
public <T> ByteStringParser.ParseResult<T> copy(scala.Option<T> result, ByteStringParser.ParseStep<T> nextStep, boolean acceptUpstreamFinish)
-
copy$default$1
public <T> scala.Option<T> copy$default$1()
-
copy$default$2
public <T> ByteStringParser.ParseStep<T> copy$default$2()
-
copy$default$3
public <T> boolean copy$default$3()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-