public class ScriptTagWriter
extends java.lang.Object
| Constructor and Description |
|---|
ScriptTagWriter() |
ScriptTagWriter(ProfilerProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
printScriptTag()
Writes out a script tag in the format that the mini profiler front end
javascript expects.
|
java.lang.String |
printScriptTag(Profiler profiler)
Writes out a script tag in the format that the mini profiler front end
javascript expects.
|
java.lang.String |
printScriptTag(Profiler profiler,
ProfilerUiConfig config)
Writes out a script tag in the format that the mini profiler front end
javascript expects.
|
java.lang.String |
printScriptTag(Profiler profiler,
ProfilerUiConfig config,
java.lang.String path)
Writes out a script tag in the format that the mini profiler front end
javascript expects.
|
java.lang.String |
printScriptTag(Profiler profiler,
java.lang.String path)
Writes out a script tag in the format that the mini profiler front end
javascript expects.
|
java.lang.String |
printScriptTag(ProfilerUiConfig config)
Writes out a script tag in the format that the mini profiler front end
javascript expects.
|
java.lang.String |
printScriptTag(java.lang.String path)
Writes out a script tag in the format that the mini profiler front end
javascript expects.
|
public ScriptTagWriter(ProfilerProvider provider)
public ScriptTagWriter()
public java.lang.String printScriptTag()
Writes tag using default path to miniprofiler resources (/miniprofiler).
public java.lang.String printScriptTag(ProfilerUiConfig config)
Writes tag using default path to miniprofiler resources (/miniprofiler).
config - specific UI configpublic java.lang.String printScriptTag(java.lang.String path)
path - path to the scriptpublic java.lang.String printScriptTag(Profiler profiler)
profiler - the profiler to use when writing the tagpublic java.lang.String printScriptTag(Profiler profiler, java.lang.String path)
profiler - profiler datapath - path to the scriptpublic java.lang.String printScriptTag(Profiler profiler, ProfilerUiConfig config)
profiler - profiler dataconfig - specific UI configpublic java.lang.String printScriptTag(Profiler profiler, ProfilerUiConfig config, java.lang.String path)
profiler - profiler dataconfig - specific UI configpath - path to the script