Class ZPageHandler
java.lang.Object
io.opencensus.contrib.zpages.ZPageHandler
- Direct Known Subclasses:
RpczZPageHandler, StatszZPageHandler, TraceConfigzZPageHandler, TracezZPageHandler
Main interface for all the Z-Pages. All Z-Pages must implement this interface to allow other HTTP
server implementation to support these pages.
- Since:
- 0.6
-
Constructor Summary
ConstructorsConstructorDescriptionPackage protected constructor to disallow users to extend this class. -
Method Summary
-
Constructor Details
-
ZPageHandler
ZPageHandler()Package protected constructor to disallow users to extend this class.
-
-
Method Details
-
getUrlPath
Returns the URL path that should be used to register this page.- Returns:
- the URL path that should be used to register this page.
- Since:
- 0.6
-
emitHtml
Emits the HTML generated page to theoutputStream.- Parameters:
queryMap- the query components map.outputStream- the outputOutputStream.- Since:
- 0.6
-