Class ActionReportResultHtmlProvider
- java.lang.Object
-
- org.glassfish.admin.rest.provider.BaseProvider<ActionReportResult>
-
- org.glassfish.admin.rest.provider.ActionReportResultHtmlProvider
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<ActionReportResult>
@Provider @Produces("text/html") public class ActionReportResultHtmlProvider extends BaseProvider<ActionReportResult>- Author:
- Ludovic Champenois
-
-
Field Summary
-
Fields inherited from class org.glassfish.admin.rest.provider.BaseProvider
desiredType, habitat, HEADER_DEBUG, JSONP_CALLBACK, requestHeaders, supportedMediaTypes, uriInfo
-
-
Constructor Summary
Constructors Constructor Description ActionReportResultHtmlProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetBaseUri()protected StringgetCommandLinks(List<Map<String,String>> commands)StringgetContent(ActionReportResult proxy)protected StringgetExtraProperties(Properties props)protected StringgetHtml(Collection c)protected StringgetHtml(Map map)protected StringgetHtmlRepresentation(Object object)protected StringgetResourcesLinks(Map<String,String> childResources)protected StringprocessChildren(List<ActionReport.MessagePart> parts)protected StringprocessProperties(Properties props)protected StringprocessReport(ActionReporter ar)protected StringprocessSubReports(List<ActionReporter> subReports)-
Methods inherited from class org.glassfish.admin.rest.provider.BaseProvider
canShowDeprecatedItems, canShowHiddenCommands, getCallBackJSONP, getResourceLinks, getResourceLinks, getSize, getXmlCommandLinks, isDebug, isGivenTypeWritable, isWriteable, writeTo
-
-
-
-
Method Detail
-
getContent
public String getContent(ActionReportResult proxy)
- Specified by:
getContentin classBaseProvider<ActionReportResult>
-
getBaseUri
protected String getBaseUri()
-
processReport
protected String processReport(ActionReporter ar)
-
processProperties
protected String processProperties(Properties props)
-
getExtraProperties
protected String getExtraProperties(Properties props)
-
processChildren
protected String processChildren(List<ActionReport.MessagePart> parts)
-
processSubReports
protected String processSubReports(List<ActionReporter> subReports)
-
getHtml
protected String getHtml(Collection c)
-
-