Class ServletLayout
java.lang.Object
org.qubership.profiler.output.layout.Layout
org.qubership.profiler.servlet.layout.ServletLayout
- All Implemented Interfaces:
Closeable,AutoCloseable
public class ServletLayout
extends org.qubership.profiler.output.layout.Layout
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected javax.servlet.ServletOutputStreamprotected javax.servlet.http.HttpServletResponseFields inherited from class org.qubership.profiler.output.layout.Layout
CLOB -
Constructor Summary
ConstructorsConstructorDescriptionServletLayout(javax.servlet.http.HttpServletResponse resp) ServletLayout(javax.servlet.http.HttpServletResponse resp, String encoding, String contentType) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidputNextEntry(String id, String name, String type)
-
Field Details
-
resp
protected javax.servlet.http.HttpServletResponse resp -
out
protected javax.servlet.ServletOutputStream out
-
-
Constructor Details
-
ServletLayout
public ServletLayout(javax.servlet.http.HttpServletResponse resp) -
ServletLayout
-
-
Method Details
-
getEncoding
-
getOutputStream
- Specified by:
getOutputStreamin classorg.qubership.profiler.output.layout.Layout- Throws:
IOException
-
putNextEntry
- Specified by:
putNextEntryin classorg.qubership.profiler.output.layout.Layout
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classorg.qubership.profiler.output.layout.Layout- Throws:
IOException
-