Class IncludesHandler
java.lang.Object
sk.iway.iwcm.components.ai.providers.IncludesHandler
Protects CMS INCLUDE commands while text is transformed by an AI provider.
-
Method Summary
Modifier and TypeMethodDescriptionvoidfinish(BufferedWriter writer) Flushes any trailing fragment retained while checking a split protected token.voidhandleLine(String line, BufferedWriter writer) Restores and writes the part of a streamed response that is safe to emit.
-
Method Details
-
getWholeResponse
-
finish
Flushes any trailing fragment retained while checking a split protected token.- Throws:
IOException
-
handleLine
Restores and writes the part of a streamed response that is safe to emit.- Throws:
IOException
-