Add @InternalApi annotations and private markers on internal apis (#22563)
* #22506 Mark materializer extension as @InternalApi * #22506 Added missing annotations on internal apis in the fusing package * #22506 Missing annotations in io package * #22506 Add internal api annotations in impl package * #22563 more hiding of the classes in the impl package * #22563 Formatting fixes * #22506 Fix private access in stream tcl tests
This commit is contained in:
parent
6434cbe868
commit
2a9c0370e0
60 changed files with 568 additions and 316 deletions
|
|
@ -3,6 +3,7 @@
|
|||
*/
|
||||
package akka.stream.impl
|
||||
|
||||
import akka.annotation.InternalApi
|
||||
import akka.stream.scaladsl.Framing.FramingException
|
||||
import akka.util.ByteString
|
||||
|
||||
|
|
@ -11,7 +12,7 @@ import scala.annotation.switch
|
|||
/**
|
||||
* INTERNAL API: Use [[akka.stream.scaladsl.JsonFraming]] instead.
|
||||
*/
|
||||
private[akka] object JsonObjectParser {
|
||||
@InternalApi private[akka] object JsonObjectParser {
|
||||
|
||||
final val SquareBraceStart = '['.toByte
|
||||
final val SquareBraceEnd = ']'.toByte
|
||||
|
|
@ -42,7 +43,7 @@ private[akka] object JsonObjectParser {
|
|||
*
|
||||
* Leading whitespace between elements will be trimmed.
|
||||
*/
|
||||
private[akka] class JsonObjectParser(maximumObjectLength: Int = Int.MaxValue) {
|
||||
@InternalApi private[akka] class JsonObjectParser(maximumObjectLength: Int = Int.MaxValue) {
|
||||
import JsonObjectParser._
|
||||
|
||||
private var buffer: ByteString = ByteString.empty
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue