Uses of Interface
org.apache.juneau.http.HttpResource
Packages that use HttpResource
Package
Description
Engine-agnostic themeable admin-console chrome:
Theme, the stock
theme stylesheets, the bundled chrome.css asset, and
ConsoleChromeMixin.The DataTables server-side-processing JSON beans implementing the
DataTables server-side processing wire
contract.
A typed, declarative "rich DataTables view" toolkit that serializes to the frozen
VIEW_META JSON wire
contract consumed by the first-party client runtime.Reusable widget primitives for the Juneau REST server toolkit.
Next-generation HTTP resource types — bodies bundled with associated headers.
Petstore REST resources.
Convention-endpoints mixin pack — composable
@Rest(mixins=...) resources that ship the
"internet conventions" surface (favicon, robots, sitemap, version, well-known) every public-facing
service eventually grows.Ops / introspection mixin pack — composable
@Rest(mixins=...) resources that ship the
operational surface (request echo, JVM admin, route index) every long-running Juneau service
eventually grows.REST Static Files Support
REST Server Utilities
Raw command output in the browser: a byte-offset endpoint over a
TerminalSource
and an xterm.js panel that renders it the way a terminal would.-
Uses of HttpResource in org.apache.juneau.console
Methods in org.apache.juneau.console that return HttpResourceModifier and TypeMethodDescriptionConsoleChromeMixin.getBadgesJs()[GET /juneau-console/juneau-badges.js] — serve the count-badge script.ConsoleChromeMixin.getChartsJs()[GET /juneau-console/juneau-charts.js] — serve the chart-card runtime.ConsoleChromeMixin.getChromeCss(RestRequest req) [GET /juneau-console/chrome.css] — serve the admin-console chrome stylesheet.ConsoleChromeMixin.getConsoleJs()[GET /juneau-console/juneau-console.js] — serve the console shell.ConsoleChromeMixin.getDashboardJs()[GET /juneau-console/juneau-dashboard.js] — serve the dashboard chrome runtime.ConsoleChromeMixin.getJobLogJs()[GET /juneau-console/juneau-joblog.js] — serve the job-log card runtime.ConsoleChromeMixin.getPageSchema()[GET /juneau-console/juneau-page.schema.json] — serve the page-contract schema.ConsoleChromeMixin.getThemeCss(String file) [GET /juneau-console/themes/{file}] — serve one of the shipped stock-theme stylesheets. -
Uses of HttpResource in org.apache.juneau.console.datatables
Methods in org.apache.juneau.console.datatables that return HttpResourceModifier and TypeMethodDescriptionDataTablesMixin.getGlueScript()[GET /juneau-datatables.js] — serve the first-party DataTables glue script. -
Uses of HttpResource in org.apache.juneau.console.views
Methods in org.apache.juneau.console.views that return HttpResourceModifier and TypeMethodDescriptionViewsMixin.getBusScript()[GET /juneau-bus.js] — serve the in-page message bus.ViewsMixin.getCalendarScript()Deprecated.ViewsMixin.getCalendarStylesheet()Deprecated.ComposeWidgetsMixininstead, which ships these bytes.ViewsMixin.getConfigScript()[GET /juneau-config.js] — serve the opt-in column-chooser runtime (column configuration is localStorage-persisted).ViewsMixin.getConfigStylesheet()[GET /juneau-config.css] — serve the opt-in column-chooser stylesheet.ViewsMixin.getConsoleJs()[GET /juneau-console.js] — serve the console shell runtime from the console-ui module's classpath.ViewsMixin.getDataScript()[GET /juneau-data.js] — serve the DataRegistry runtime.ViewsMixin.getHelpersScript()[GET /juneau-helpers.js] — serve the opt-in region-populate paint library.ViewsMixin.getIconsScript()[GET /juneau-icons.js] — serve the icon registry.ViewsMixin.getPageStateScript()[GET /juneau-pagestate.js] — serve the general page-state store.ViewsMixin.getRegionsScript()[GET /juneau-regions.js] — serve the opt-in region-populate runtime.ViewsMixin.getRendersScript()[GET /juneau-renders.js] — serve the renderer registry.ViewsMixin.getRibbonScript()[GET /juneau-ribbon.js] — serve the ribbon/toolbar runtime.ViewsMixin.getSearchScript()[GET /juneau-search.js] — serve the column-search engine.ViewsMixin.getSymbolsMaterialSvg()[GET /juneau-symbols-material.svg] — serve the opt-in Material Symbols Outlined sprite.ViewsMixin.getSymbolsSvg()[GET /juneau-symbols.svg] — serve the shared SVG symbol sprite.ViewsMixin.getTerminalViewScript()[GET /juneau-terminal-view.js] — serve the opt-in terminal-view module.ViewsMixin.getUrlStateScript()[GET /juneau-urlstate.js] — serve the shareable-link URL-state codec.ViewsMixin.getViewsScript()[GET /juneau-views.js] — serve the client initializer.ViewsMixin.getViewsStylesheet()[GET /juneau-views.css] — serve the base view stylesheet. -
Uses of HttpResource in org.apache.juneau.console.widgets
Methods in org.apache.juneau.console.widgets that return HttpResourceModifier and TypeMethodDescriptionWidgetsMixin.getCalendarScript()[GET /juneau-calendar.js] — serve the reusable-calendar runtime.WidgetsMixin.getCalendarStylesheet()[GET /juneau-calendar.css] — serve the reusable-calendar stylesheet. -
Uses of HttpResource in org.apache.juneau.http.resource
Classes in org.apache.juneau.http.resource that implement HttpResourceModifier and TypeClassDescriptionfinal classDefault immutable implementation ofHttpResource: anHttpBodybundled with a set of associated headers (such asContent-Type,Content-Disposition, orContent-Language). -
Uses of HttpResource in org.apache.juneau.petstore.rest
Methods in org.apache.juneau.petstore.rest that return HttpResourceModifier and TypeMethodDescriptionPetstoreUiResource.app(RestRequest req, Locale locale) [GET /] — the single-page app. -
Uses of HttpResource in org.apache.juneau.rest.server.convention
Methods in org.apache.juneau.rest.server.convention that return HttpResourceModifier and TypeMethodDescriptionFaviconMixin.getFavicon()[GET /favicon.ico] — serve the configured favicon bytes.FaviconResource.getFavicon()[GET /*] — serve the configured favicon bytes.FaviconServlet.getFavicon()[GET /*] — serve the configured favicon bytes.FaviconProvider.serve()Serves the configured favicon bytes. -
Uses of HttpResource in org.apache.juneau.rest.server.ops
Methods in org.apache.juneau.rest.server.ops that return HttpResourceModifier and TypeMethodDescriptionHtdocMixin.getHtdoc(RestRequest req, String path, Locale locale) [GET /htdocs/*] - Retrieve static file. -
Uses of HttpResource in org.apache.juneau.rest.server.staticfile
Methods in org.apache.juneau.rest.server.staticfile that return HttpResourceModifier and TypeMethodDescriptionStaticFilesMixin.getStaticFile(RestRequest req, String path, Locale locale) [GET /static/*] — serve a static file from the activeStaticFilesbean.StaticFilesResource.getStaticFile(RestRequest req, String path, Locale locale) [GET /*] — serve a static file from the activeStaticFilesworker bean.StaticFilesServlet.getStaticFile(RestRequest req, String path, Locale locale) [GET /*] — serve a static file from the activeStaticFilesworker bean.WebJarsMixin.getWebJarFile(RestRequest req) [GET /webjars/*] — serve one WebJar file.StaticFilesMixin.headStaticFile(RestRequest req, String path, Locale locale) [HEAD /static/*] — return GET headers for a static file without the body.StaticFilesResource.headStaticFile(RestRequest req, String path, Locale locale) [HEAD /*] — return GET headers for a static file without the body.StaticFilesServlet.headStaticFile(RestRequest req, String path, Locale locale) [HEAD /*] — return GET headers for a static file without the body.WebJarsMixin.headWebJarFile(RestRequest req) [HEAD /webjars/*] — theGETheaders without the body (the response processor drops the body).static HttpResourceStaticFilesMixin.resolveStaticFile(RestRequest req, String path, Locale locale) Shared static-file resolution chokepoint — resolves the requested path against the request's activeStaticFilesbean.Methods in org.apache.juneau.rest.server.staticfile that return types with arguments of type HttpResourceModifier and TypeMethodDescriptionResolve the specified path.Resolve the specified path. -
Uses of HttpResource in org.apache.juneau.rest.server.util
Methods in org.apache.juneau.rest.server.util that return HttpResourceModifier and TypeMethodDescriptionReads (and caches) the given classpath resource and wraps it as a cacheableHttpResource- theClasspathAssetCache.bytes(String)+ClasspathAssetCache.wrap(byte[],String,String)bundle every classpath-asset-serving endpoint needs.Wraps pre-computed bytes as a cacheableHttpResourcecarrying the given content type andCache-Controlheader. -
Uses of HttpResource in org.apache.juneau.terminal.region
Methods in org.apache.juneau.terminal.region that return HttpResourceModifier and TypeMethodDescriptionstatic HttpResourceTerminalEndpoints.script()The terminal runtime.static HttpResourceTerminalEndpoints.stylesheet()The terminal stylesheet.default HttpResourceTerminalMixin.terminalScript()[GET /juneau-terminal.js] — the terminal runtime.default HttpResourceTerminalMixin.terminalStylesheet()[GET /juneau-terminal.css] — the terminal stylesheet.
WidgetsMixininstead, which ships these bytes.