Uses of Class
org.apache.juneau.rest.server.RestRequest
Packages that use RestRequest
Package
Description
Engine-agnostic themeable admin-console chrome:
Theme, the stock
theme stylesheets, the bundled chrome.css asset, and
ConsoleChromeMixin.Server half of the console message bus.
Server helpers for console data sources:
SeriesSource streams
rows as CSV or NDJSON, and SeriesAggregator answers the
aggregate request a data source sends when its result is too large to load raw.FreeMarker-only delivery of the admin-console chrome: the reserved-classpath
base.ftlh template, the
<@tag> macro, and ConsoleFreemarkerMixin
(registers a reserved-path ClassTemplateLoader on top of the host's own FreemarkerMixin
configuration).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.
Example / demo Microservice REST Resources
Actuator-style management-surface endpoints (microservice-module flavors).
Petstore admin console: the
/console page tree.Petstore console Developer pages: custom cards, themes, rendering flavors and the secure API demo.
Petstore console Rendering flavors: one console page per petstore view technology.
Petstore console operations pages: background jobs and the audit log.
Petstore console orders page and its JSON endpoints.
Petstore console pets pages and their JSON endpoints.
Petstore console users page and its JSON endpoints.
Apache Juneau Petstore - Jetty/Microservice deployment.
Petstore REST resources.
Apache Juneau Petstore - Spring Boot deployment.
REST Server API
REST Method Argument Beans
Authentication (AuthN) guards, servlet-layer filters, SPIs, and request-time helpers for
juneau-rest-server.REST Interface Helper Classes
REST Response Converters
API-docs mixin pack — composable
@Rest(mixins=...) resources that publish Swagger v2
and OpenAPI 3.1 spec endpoints with Swagger-UI and Redoc HTML mounts.REST Guards
Built-in health, readiness, and liveness probe support for Juneau REST servers.
REST HTTP Parts
JUL-level-driven REST debug logging API.
Actuator-style management-surface endpoints (server-module flavors).
Revision-neutral core for MCP endpoints built on
juneau-rest-server.MCP
2026-07-28 binding for juneau-rest-server-mcp.Micrometer bridge for the
juneau-rest-server
MetricsRecorder SPI.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 Servlets
REST Static Files Support
Tracing SPI for
juneau-rest-server — per-request span hook backed by a
caller-supplied TracerHook bean.OpenTelemetry bridge for the
juneau-rest-server
TracerHook SPI.Engine-agnostic server-side-rendered view extension point.
Apache FreeMarker view-rendering bridge — opt-in
juneau-rest-server-view-freemarker
module.JSP view-rendering bridge — opt-in
juneau-rest-server-view-jsp module.Mustache view-rendering bridge — opt-in
juneau-rest-server-view-mustache module.Thymeleaf view-rendering bridge — opt-in
juneau-rest-server-view-thymeleaf module.HTML Widget API
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 RestRequest in org.apache.juneau.console
Methods in org.apache.juneau.console with parameters of type RestRequestModifier and TypeMethodDescriptionstatic StringConsoleChromeMixin.badgesJsUrl(RestRequest req) Context-root-absolute, cache-busted URL of the count-badge script.static StringConsoleChromeMixin.chromeCssUrl(RestRequest req) Returns a real, browser-fetchable URL for the shippedchrome.css, resolved against the request's context root (not the page resource) and carrying the same content-sensitive?v=…cache-buster the theme stylesheets use.static StringConsoleChromeMixin.consoleAssetUrl(RestRequest req, String path) Context-root-absolute, cache-busted URL of a console card runtime; the resolver of thechartsandjoblogtoolkit packs.static StringConsoleChromeMixin.consoleJsUrl(RestRequest req) Context-root-absolute, cache-busted URL of the console shell script.ConsoleChromeMixin.getChromeCss(RestRequest req) [GET /juneau-console/chrome.css] — serve the admin-console chrome stylesheet.ConsoleChromeMixin.schemeHead(RestRequest req, String pin, boolean toggle) Returns the colour-scheme head pieces for a page that does not render through the FreeMarker console directive.static StringConsoleChromeMixin.themeAssetUrl(RestRequest req, String name) Returns a real, browser-fetchable URL for a shipped theme stylesheet, resolved against the request's context root (not the page resource) and carrying the same?v=<buildVersion>-<hash8>content-sensitive cache-busterConsoleChromeMixin.chromeCssUrl(RestRequest)uses. -
Uses of RestRequest in org.apache.juneau.console.bus
Methods in org.apache.juneau.console.bus with parameters of type RestRequestModifier and TypeMethodDescriptiondefault JsonMapBusEventsMixin.openBusSession(RestRequest req, RestResponse res) [POST /juneau-bus/session] — opens a bus session.default voidBusEventsMixin.streamBus(String id, RestRequest req, RestResponse res) [GET /juneau-bus/stream/{sessionId}] — streams the session's frames as Server-Sent Events. -
Uses of RestRequest in org.apache.juneau.console.data
Methods in org.apache.juneau.console.data with parameters of type RestRequestModifier and TypeMethodDescriptionstatic SeriesAggregator.RequestSeriesAggregator.Request.from(RestRequest req) Parses the request's query parameters. -
Uses of RestRequest in org.apache.juneau.console.freemarker
Methods in org.apache.juneau.console.freemarker with parameters of type RestRequestModifier and TypeMethodDescriptionToolkitPackRegistry.AssetUrlResolver.resolve(RestRequest req, String path) ToolkitPackRegistry.resolve(List<String> names, RestRequest req, List<String> pageUrls, String template) Resolves the root packs and their dependencies to absolute URLs, split by kind.freemarker.template.ConfigurationConsoleFreemarkerMixin.resolveConfiguration(RestRequest req) Resolves the activeConfigurationand fill-missing-stamps console shared variables onto it.PageSpec.view(RestRequest req) Builds the view for this spec. -
Uses of RestRequest in org.apache.juneau.console.views
Methods in org.apache.juneau.console.views with parameters of type RestRequestModifier and TypeMethodDescriptionstatic voidTerminalViewEndpoints.events(Optional<TerminalViewSource> source, RestRequest req, RestResponse res) Serves one page of the events endpoint (?after=) as JSON.default voidAsyncJobsMixin.streamJob(String jobId, RestRequest req, RestResponse res) [GET /juneau-jobs/{jobId}/stream] — stream a job's progress as Server-Sent Events.default voidTerminalViewMixin.terminalViewEvents(String runId, RestRequest req, RestResponse res) [GET /juneau-terminal-view/{runId}/events] — one page of events as JSON.TerminalViewMixin.terminalViewSource(String runId, RestRequest req) Resolves the source for a run id, applying the application's own access rules.static StringViewsMixin.viewAssetUrl(RestRequest req, String path) Returns a real, browser-fetchable absolute URL for a served asset, resolved against the given request's context path and mount — carrying the same?v=<buildVersion>-<hash8>content- sensitive cache-buster asViewsMixin.viewAssetUrl(String)(see the class Javadoc's cache-busting section). -
Uses of RestRequest in org.apache.juneau.console.widgets
Methods in org.apache.juneau.console.widgets with parameters of type RestRequestModifier and TypeMethodDescriptionstatic StringWidgetsMixin.widgetAssetUrl(RestRequest req, String path) Returns a real, browser-fetchable absolute URL for a widget asset served by this mixin, resolved against the given request's context path and mount — carrying the same cache-buster asWidgetsMixin.widgetAssetUrl(String). -
Uses of RestRequest in org.apache.juneau.microservice.examples
Methods in org.apache.juneau.microservice.examples with parameters of type RestRequestModifier and TypeMethodDescriptionDebugResource.createJettyDump(RestRequest req, RestResponse res) [POST /jetty/dump] - Generates and saves the jetty thread dump file to jetty-thread-dump.log.DirectoryResource.getFile(RestRequest req, String path) Returns information about the specified file or directory.LogsResource.getFile(RestRequest req, String path) Returns information about the specified file or directory.DebugResource.getJettyDump(RestRequest req, RestResponse res) [GET /jetty/dump] - Generates and retrieves the jetty thread dump.LogsResource.viewParsedEntries(RestRequest req, String path, String start, String end, String thread, String[] loggers, String[] severity) Views the parsed contents of a log file with filtering. -
Uses of RestRequest in org.apache.juneau.microservice.management
Methods in org.apache.juneau.microservice.management with parameters of type RestRequestModifier and TypeMethodDescriptionInfoMixin.getInfo(RestRequest req) [GET /info] - Application build/version/git metadata from the manifest.InfoResource.getInfo(RestRequest req) [GET /] - Application build/version/git metadata from the manifest. -
Uses of RestRequest in org.apache.juneau.petstore.console
Methods in org.apache.juneau.petstore.console with parameters of type RestRequestModifier and TypeMethodDescriptionstatic StringConsoleWrites.actor(RestRequest req) Checks the write gate and returns the audit actor.static booleanPetstoreConsolePage.builder(RestRequest req) Whether this request asks for the builder twin of a page (?builder, with or without a value).PetstoreConsoleResource.index(RestRequest req) GET /consoleredirects to the store dashboard.AboutRest.page(RestRequest req) The About page.StoreRest.page(RestRequest req) Renders the Store page, with the quick-stat tile values computed from the store.ConsoleWrites.roles(RestRequest req) The viewer's roles, for<@facts>and server-side omission of role-gated cards.static ViewPetstoreConsolePage.twin(RestRequest req, PageSpec spec) Renders a builder-twin page, marked withPetstoreConsolePage.PAGE_HEADER. -
Uses of RestRequest in org.apache.juneau.petstore.console.dev
Methods in org.apache.juneau.petstore.console.dev with parameters of type RestRequestModifier and TypeMethodDescriptionDevRest.index(RestRequest req) Redirects the section root to its first child.ChartsRest.page(RestRequest req) Renders the Charts page.CustomCardsRest.page(RestRequest req) The Custom cards page.DashboardRest.page(RestRequest req, String variant, Integer v) Renders the Dashboard page.DataRest.page(RestRequest req) Renders the Data sources page.SecureRest.page(RestRequest req) The Secure page.ThemesRest.page(RestRequest req, String theme) Renders the Themes page.voidDashboardRest.series(RestRequest req, RestResponse res, String variant, String q, String start, String end, String lateOnly) Theorderssource:day,reason,orders, one row per UTC day. -
Uses of RestRequest in org.apache.juneau.petstore.console.dev.flavors
Methods in org.apache.juneau.petstore.console.dev.flavors with parameters of type RestRequestModifier and TypeMethodDescriptionFlavorsRest.index(RestRequest req) Redirects to the first flavor.Flavor.page(RestRequest req) The console page for this flavor, from its builder twin on?builder.FreemarkerFlavorRest.page(RestRequest req) The console page, from its builder twin on?builder.HtmlFlavorRest.page(RestRequest req) The console page, from its builder twin on?builder.MustacheFlavorRest.page(RestRequest req) The console page, from its builder twin on?builder.FlavorsRest.react(RestRequest req) The React flavor page, from its builder twin on?builder. -
Uses of RestRequest in org.apache.juneau.petstore.console.ops
Methods in org.apache.juneau.petstore.console.ops with parameters of type RestRequestModifier and TypeMethodDescriptionJobsRest.groomRunKey(RestRequest req, String id) Issues a regroom key bound to one groom run and the caller.OpsRest.index(RestRequest req) GET /console/opsredirects to the Jobs page.AuditRest.page(RestRequest req) Renders the Audit page.JobsRest.page(RestRequest req, String run) Renders the Jobs page.JobsRest.regroom(RestRequest req, RestResponse res, String id, JsonMap json) Grooms a run's pet again.JobsRest.restock(RestRequest req, RestResponse res, JsonMap json) Submits a restock.JobsRest.restockSpecies(RestRequest req, RestResponse res, String id, JsonMap json) Restocks one species from its row's detail panel.JobsRest.speciesKey(RestRequest req, String id) Issues a restock key bound to one species and the caller.JobsRest.terminalSource(String id, RestRequest req) -
Uses of RestRequest in org.apache.juneau.petstore.console.orders
Methods in org.apache.juneau.petstore.console.orders with parameters of type RestRequestModifier and TypeMethodDescriptionOrdersRest.approve(RestRequest req, long id) Approves a placed order.OrdersRest.cancel(RestRequest req, long id) Deletes (cancels) an order.OrdersRest.create(RestRequest req, JsonMap body) Places a new order.OrdersRest.deliver(RestRequest req, long id) Delivers an approved order.OrdersRest.page(RestRequest req) The Orders page. -
Uses of RestRequest in org.apache.juneau.petstore.console.pets
Methods in org.apache.juneau.petstore.console.pets with parameters of type RestRequestModifier and TypeMethodDescriptionChangesRest.apply(RestRequest req, long id) Applies one change (the bulk perRow action).PetsRest.create(RestRequest req, JsonMap body) Creates a pet.PetsRest.delete(RestRequest req, long id) Deletes a pet.PetsRest.detail(RestRequest req, long id) The bare pet URL; lands on the first tab.PetsRest.detailOrder(RestRequest req, RestResponse res, long id, long orderId) P4 at nav depth 4: the Orders tab with one of this pet's orders selected.PetsRest.detailTab(RestRequest req, RestResponse res, long id, String tab) P4, one tab.ChangesRest.discard(RestRequest req, BulkRequest body, String fail) Discards changes in one aggregate call.ChangesRest.page(RestRequest req) The Pending changes page.PetsRest.page(RestRequest req) The Pets page.ChangesRest.pending(RestRequest req) The header badge source: pending changes, flaggedminefor the caller.ChangesRest.retry(RestRequest req, long id) Retries a failed change.PetsRest.sell(RestRequest req, long id) Marks a pet sold.PetsRest.sold(RestRequest req) The Sold pets page.PetsRest.stage(RestRequest req, long id, JsonMap body) Stages an inline edit for review on the Pending changes page.PetsRest.update(RestRequest req, long id, JsonMap body) Replaces a pet. -
Uses of RestRequest in org.apache.juneau.petstore.console.users
Methods in org.apache.juneau.petstore.console.users with parameters of type RestRequestModifier and TypeMethodDescriptionUsersRest.create(RestRequest req, JsonMap body) Creates a user.UsersRest.delete(RestRequest req, String username) Deletes a user.UsersRest.page(RestRequest req) The Users page.UsersRest.update(RestRequest req, String username, JsonMap body) Updates a user. -
Uses of RestRequest in org.apache.juneau.petstore.jetty
Methods in org.apache.juneau.petstore.jetty with parameters of type RestRequestModifier and TypeMethodDescriptionRootResources.index(RestRequest req) GET /goes to the console store page. -
Uses of RestRequest in org.apache.juneau.petstore.rest
Methods in org.apache.juneau.petstore.rest with parameters of type RestRequestModifier and TypeMethodDescriptionPetstoreUiResource.app(RestRequest req, Locale locale) [GET /] — the single-page app. -
Uses of RestRequest in org.apache.juneau.petstore.springboot
Methods in org.apache.juneau.petstore.springboot with parameters of type RestRequestModifier and TypeMethodDescriptionRootResources.index(RestRequest req) GET /goes to the console store page. -
Uses of RestRequest in org.apache.juneau.rest.server
Methods in org.apache.juneau.rest.server that return RestRequestModifier and TypeMethodDescriptionRestOpContext.createRequest(RestSession session) Creates aRestRequestobject based on the specified incomingHttpServletRequestobject.RestOpSession.getRequest()Returns the REST request object for this session.RestRequest.setAuthResult(AuthResult value) Sets the resolved resource-level authentication result.RestRequest.setException(Throwable t) Sets the"Exception" attribute to the specified throwable.RestRequest.setNoTrace()Shortcut for callingsetNoTrace( .true )RestRequest.setNoTrace(Boolean b) Sets the"NoTrace" attribute to the specified boolean.RestRequest.setParserSessionProperties(Map<String, Object> values) Sets multiple parser session properties programmatically.RestRequest.setParserSessionProperty(String name, Object value) Sets a parser session property programmatically.RestRequest.setSerializerSessionProperties(Map<String, Object> values) Sets multiple serializer session properties programmatically.RestRequest.setSerializerSessionProperty(String name, Object value) Sets a serializer session property programmatically.Methods in org.apache.juneau.rest.server that return types with arguments of type RestRequestModifier and TypeMethodDescriptionRestRequest.assertCharset()Provides the ability to perform fluent-style assertions on the response character encoding.RestRequest.assertContent()Returns a fluent assertion for the request content.RestRequest.assertFormParam(String name) Returns a fluent assertion for the specified form parameter.RestRequest.assertHeader(String name) Returns a fluent assertion for the specified header.RestRequest.assertQueryParam(String name) Returns a fluent assertion for the specified query parameter.RestRequest.assertRequestLine()Returns an assertion on the request line returned bygetRequestLine().Methods in org.apache.juneau.rest.server with parameters of type RestRequestModifier and TypeMethodDescriptionRestOpContext.createResponse(RestSession session, RestRequest req) Creates aRestResponseobject based on the specified incomingHttpServletResponseobject and the request returned byRestOpContext.createRequest(RestSession). -
Uses of RestRequest in org.apache.juneau.rest.server.arg
Constructor parameters in org.apache.juneau.rest.server.arg with type arguments of type RestRequestModifierConstructorDescriptionprotectedRestRequestArgs(ThrowingFunction<RestRequest, T> function) Constructor. -
Uses of RestRequest in org.apache.juneau.rest.server.auth
Methods in org.apache.juneau.rest.server.auth with parameters of type RestRequestModifier and TypeMethodDescriptionabstract Optional<AuthResult>RestAuthenticator.authenticate(RestRequest req) Resolves identity + roles for the request.RestAuthenticator.Null.authenticate(RestRequest req) booleanApiKeyGuard.guard(RestRequest req, RestResponse res) booleanBearerTokenGuard.guard(RestRequest req, RestResponse res) booleanApiKeyGuard.isRequestAllowed(RestRequest req) booleanBearerTokenGuard.isRequestAllowed(RestRequest req) -
Uses of RestRequest in org.apache.juneau.rest.server.beans
Methods in org.apache.juneau.rest.server.beans with parameters of type RestRequestModifier and TypeMethodDescriptionstatic ChildResourceDescriptionsChildResourceDescriptions.of(RestRequest req) Static creator.Constructors in org.apache.juneau.rest.server.beans with parameters of type RestRequestModifierConstructorDescriptionChildResourceDescriptions(RestContext context, RestRequest req) Constructor.ChildResourceDescriptions(RestContext context, RestRequest req, boolean sort) Constructor.Constructor. -
Uses of RestRequest in org.apache.juneau.rest.server.converter
Methods in org.apache.juneau.rest.server.converter with parameters of type RestRequestModifier and TypeMethodDescriptionIntrospectable.convert(RestRequest req, Object o) Queryable.convert(RestRequest req, Object o) RestConverter.convert(RestRequest req, Object res) Performs post-call conversion on the specified response object.Traversable.convert(RestRequest req, Object o) -
Uses of RestRequest in org.apache.juneau.rest.server.docs
Methods in org.apache.juneau.rest.server.docs with parameters of type RestRequestModifier and TypeMethodDescriptionOpenApiMixin.getOpenApi(RestRequest req) [GET /openapi] — emit the OpenAPI 3.1 document for this resource.voidOpenApiMixin.getOpenApiJson(RestRequest req, RestResponse res) [GET /openapi.json] — emit the OpenAPI 3.1 document as JSON, ignoring theAcceptheader.voidOpenApiMixin.getOpenApiYaml(RestRequest req, RestResponse res) [GET /openapi.yaml] — emit the OpenAPI 3.1 document as YAML, ignoring theAcceptheader.RedocMixin.getRedoc(RestRequest req) [GET /redoc] — render the Redoc HTML view (or the spec, depending onAccept).SwaggerMixin.getSwagger(RestRequest req) [GET /api] — emit the Swagger v2 spec for this resource.SwaggerUiMixin.getSwaggerUi(RestRequest req) [GET /swagger] — render the Swagger-UI HTML view (or the spec, depending onAccept). -
Uses of RestRequest in org.apache.juneau.rest.server.guard
Methods in org.apache.juneau.rest.server.guard with parameters of type RestRequestModifier and TypeMethodDescriptionbooleanRateLimitGuard.guard(RestRequest req, RestResponse res) booleanRestGuard.guard(RestRequest req, RestResponse res) Checks the current HTTP request and throws aBasicHttpExceptionif the guard does not permit the request.booleanDenyAllGuard.isRequestAllowed(RestRequest req) booleanRateLimitGuard.isRequestAllowed(RestRequest req) abstract booleanRestGuard.isRequestAllowed(RestRequest req) Returnstrue if the specified request can pass through this guard.booleanRoleBasedRestGuard.isRequestAllowed(RestRequest req) Method parameters in org.apache.juneau.rest.server.guard with type arguments of type RestRequestModifier and TypeMethodDescriptionRateLimitGuard.Builder.keyBy(Function<RestRequest, String> value) Sets the per-request key resolver.RateLimitGuard.Builder.whenLimitExceeded(BiConsumer<RestRequest, RateLimitGuard.RateLimitInfo> value) Sets a callback invoked when a request is rejected due to an empty bucket. -
Uses of RestRequest in org.apache.juneau.rest.server.health
Methods in org.apache.juneau.rest.server.health with parameters of type RestRequestModifier and TypeMethodDescriptionHealthMixin.healthz(RestRequest req, RestResponse res) Health probe endpoint.HealthResource.healthz(RestRequest req, RestResponse res) Health probe endpoint.HealthMixin.livez(RestRequest req, RestResponse res) Liveness probe endpoint.HealthResource.livez(RestRequest req, RestResponse res) Liveness probe endpoint.HealthServlet.probe(RestRequest req, RestResponse res) Health/readiness/liveness probe endpoint.protected HealthProbeHealthServlet.probeFor(RestRequest req) Resolves which probe this request is for, keyed off the LAST PATH SEGMENT.HealthMixin.readyz(RestRequest req, RestResponse res) Readiness probe endpoint.HealthResource.readyz(RestRequest req, RestResponse res) Readiness probe endpoint. -
Uses of RestRequest in org.apache.juneau.rest.server.httppart
Methods in org.apache.juneau.rest.server.httppart that return RestRequestModifier and TypeMethodDescriptionprotected RestRequestRequestHttpPart.getRequest()Returns the request that created this part.Constructors in org.apache.juneau.rest.server.httppart with parameters of type RestRequestModifierConstructorDescriptionRequestAttribute(RestRequest request, String name, Object value) Constructor.Constructor.Constructor.RequestFormParam(RestRequest request, jakarta.servlet.http.Part part) Constructor.RequestFormParam(RestRequest request, String name, String value) Constructor.RequestFormParamList(RestRequest req, boolean caseSensitive) Constructor.RequestHeader(RestRequest request, String name, String value) Constructor.RequestHeaderList(RestRequest req, RequestQueryParamList query, boolean caseSensitive) Constructor.RequestHttpPart(HttpPartType partType, RestRequest request, String name, String value) Constructor.RequestPathParam(RestRequest request, String name, String value) Constructor.RequestPathParamList(RestSession session, RestRequest req, boolean caseSensitive) Constructor.RequestQueryParam(RestRequest request, String name, String value) Constructor.RequestQueryParamList(RestRequest req, Map<String, String[]> query, boolean caseSensitive) Constructor. -
Uses of RestRequest in org.apache.juneau.rest.server.logging
Methods in org.apache.juneau.rest.server.logging with parameters of type RestRequestModifier and TypeMethodDescriptionBasicRestDebugFormatter.formatBasic(RestRequest req, RestResponse res) RestDebugFormatter.formatBasic(RestRequest req, RestResponse res) Renders the basic (INFO-tier) portion of the debug record.BasicRestDebugFormatter.formatBody(RestRequest req, RestResponse res) default StringRestDebugFormatter.formatBody(RestRequest req, RestResponse res) Renders the body (FINEST-tier) portion of the debug record.BasicRestDebugFormatter.formatHeaders(RestRequest req, RestResponse res) default StringRestDebugFormatter.formatHeaders(RestRequest req, RestResponse res) Renders the headers (FINE-tier) portion of the debug record. -
Uses of RestRequest in org.apache.juneau.rest.server.management
Methods in org.apache.juneau.rest.server.management with parameters of type RestRequestModifier and TypeMethodDescriptionDumpsMixin.getHeapDump(RestRequest req, RestResponse res) [GET /heapdump] - HotSpot heap dump (hprof) stream.DumpsResource.getHeapDump(RestRequest req, RestResponse res) [GET /heapdump] - HotSpot heap dump (hprof) stream.LoggersMixin.getLogger(RestRequest req, String name) [GET /loggers/{name}] - One logger's configured level.LoggersResource.getLogger(RestRequest req, String name) [GET /{name}] - One logger's configured level.LoggersMixin.getLoggers(RestRequest req) [GET /loggers] - All loggers and their configured levels.LoggersResource.getLoggers(RestRequest req) [GET /] - All loggers and their configured levels.DumpsMixin.getThreadDump(RestRequest req) [GET /threaddump] - Full thread dump from theThreadMXBean.DumpsResource.getThreadDump(RestRequest req) [GET /threaddump] - Full thread dump from theThreadMXBean.protected DumpsManagerDumpsMixin.manager(RestRequest req) Returns theDumpsManagerworker, resolved from the host bean store when a consumer registers one, else a built-in default.protected DumpsManagerDumpsResource.manager(RestRequest req) Returns theDumpsManagerworker, resolved from the bean store when a consumer registers one, else a built-in default.LoggersMixin.setLogger(RestRequest req, String name, String level) [PUT /loggers/{name}] - Set a logger's level at runtime.LoggersResource.setLogger(RestRequest req, String name, String level) [PUT /{name}] - Set a logger's level at runtime.LoggersMixin.setLoggerPost(RestRequest req, String name, String level) [POST /loggers/{name}] - Set a logger's level at runtime (POST alias ofLoggersMixin.setLogger(RestRequest,String,String)).LoggersResource.setLoggerPost(RestRequest req, String name, String level) [POST /{name}] - Set a logger's level at runtime (POST alias ofLoggersResource.setLogger(RestRequest,String,String)). -
Uses of RestRequest in org.apache.juneau.rest.server.mcp
Methods in org.apache.juneau.rest.server.mcp with parameters of type RestRequestModifier and TypeMethodDescriptionAbstractMcpRestServlet.handleMcp(JsonRpcRequest req, RestRequest restReq) MCP JSON-RPC endpoint.default ObjectMcpEndpointMixin.handleMcpRequest(JsonRpcRequest req, RestRequest restReq) Default MCP JSON-RPC endpoint handler. -
Uses of RestRequest in org.apache.juneau.rest.server.mcp.v20260728
Methods in org.apache.juneau.rest.server.mcp.v20260728 with parameters of type RestRequestModifier and TypeMethodDescriptiondefault McpProtectedResourceMetadataMcpEndpoint.mcpProtectedResourceMetadataPathInserted(RestRequest req) Serves the RFC 9728 Protected Resource Metadata document at the path-inserted well-known location (SEP-2351), but only when the requested suffix matches this resource's expected well-known path; otherwise404.McpRestServlet.mcpProtectedResourceMetadataPathInserted(RestRequest req) Serves the RFC 9728 Protected Resource Metadata document at the path-inserted well-known location (SEP-2351), but only when the requested suffix matches this resource's expected well-known path; otherwise404.default McpProtectedResourceMetadataMcpEndpoint.mcpProtectedResourceMetadataRoot(RestRequest req) Serves the RFC 9728 Protected Resource Metadata document at the root well-known location (SEP-2351 fallback).McpRestServlet.mcpProtectedResourceMetadataRoot(RestRequest req) Serves the RFC 9728 Protected Resource Metadata document at the root well-known location (SEP-2351 fallback).static McpProtectedResourceMetadataMcpResourceServerSupport.metadataForWellKnownPathInserted(McpResourceServerConfig cfg, RestRequest req) Serves this endpoint's PRM from the RFC 9728 path-inserted well-known location, but only when the requested suffix matches this resource's expected well-known path; otherwise404.static McpProtectedResourceMetadataMcpResourceServerSupport.metadataForWellKnownRoot(McpResourceServerConfig cfg, RestRequest req) Serves this endpoint's PRM from the SEP-2351 root well-known location (fallback), failing fast on a non-root or re-mounted mount; a no-op-throwing404when RS auth is disabled. -
Uses of RestRequest in org.apache.juneau.rest.server.metrics.micrometer
Methods in org.apache.juneau.rest.server.metrics.micrometer with parameters of type RestRequestModifier and TypeMethodDescriptionMetricsMixin.getMetrics(RestRequest req) [GET /metrics] - Prometheus scrape of the consumer-provided MeterRegistry.MetricsResource.getMetrics(RestRequest req) [GET /] - Prometheus scrape of the consumer-provided MeterRegistry. -
Uses of RestRequest in org.apache.juneau.rest.server.ops
Methods in org.apache.juneau.rest.server.ops with parameters of type RestRequestModifier and TypeMethodDescriptionvoidEchoMixin.echo(RestRequest req, RestResponse res, String remainder) [* /echo/*] — emit an introspection echo of the inbound request.NavigationMixin.getChildren(RestRequest req) [GET /] - Get child resources.HtdocMixin.getHtdoc(RestRequest req, String path, Locale locale) [GET /htdocs/*] - Retrieve static file.voidAdminMixin.getRateLimit(RestRequest req, RestResponse res) [GET /admin/ratelimit] — emit registeredRateLimitGuardbean configuration.voidAdminResource.getRateLimit(RestRequest req, RestResponse res) [GET /ratelimit] — emit registeredRateLimitGuardbean configuration.voidAdminServlet.getRateLimit(RestRequest req, RestResponse res) [GET /ratelimit] — emit registeredRateLimitGuardbean configuration.RouteIndexMixin.getRoutes(RestRequest req) [GET /options] — return the route index as a content-negotiated POJO.StatsMixin.getStats(RestRequest req) [GET /stats] - Timing statistics.voidAdminMixin.postCacheFlush(RestRequest req, RestResponse res) [POST /admin/cache/flush] — run all registered cache-flush hooks (or a subset).voidAdminResource.postCacheFlush(RestRequest req, RestResponse res) [POST /cache/flush] — run all registered cache-flush hooks (or a subset).voidAdminServlet.postCacheFlush(RestRequest req, RestResponse res) [POST /cache/flush] — run all registered cache-flush hooks (or a subset).voidAdminProvider.serveCacheFlush(RestRequest req, RestResponse res) Runs all registered cache-flush hooks (or a subset).voidAdminProvider.serveRateLimit(RestRequest req, RestResponse res) Serves the registeredRateLimitGuardbean configuration. -
Uses of RestRequest in org.apache.juneau.rest.server.servlet
Methods in org.apache.juneau.rest.server.servlet that return RestRequestModifier and TypeMethodDescriptionRestResource.getRequest()Returns the current thread-local HTTP request.RestServlet.getRequest()Returns the current thread-local HTTP request. -
Uses of RestRequest in org.apache.juneau.rest.server.staticfile
Methods in org.apache.juneau.rest.server.staticfile with parameters of type RestRequestModifier 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 StringWebJarResolver.resolve(RestRequest req, String asset) Resolves an asset id to an absolute, cache-busted URL under theWebJarsMixinmount of the request's servlet.static HttpResourceStaticFilesMixin.resolveStaticFile(RestRequest req, String path, Locale locale) Shared static-file resolution chokepoint — resolves the requested path against the request's activeStaticFilesbean. -
Uses of RestRequest in org.apache.juneau.rest.server.tracing
Methods in org.apache.juneau.rest.server.tracing with parameters of type RestRequestModifier and TypeMethodDescriptionTraceContextExtractor.extract(RestRequest request, Object[] resolvedArguments) Attempts to recognize a non-HTTP trace-context carrier among the resolved operation arguments.default TraceOperationTraceContextExtractor.operation(RestRequest request, Object[] resolvedArguments) Derives theTraceOperationa bridge should name/attribute its span with.NoOpTracerHook.startSpan(RestRequest request) TracerHook.startSpan(RestRequest request) Opens a new span for the in-flight request.default ScopeTracerHook.startSpan(RestRequest request, TraceContextCarrier carrier, TraceOperation operation) Opens a new span for the in-flight request, given a pre-extracted non-HTTPTraceContextCarrierand derivedTraceOperation. -
Uses of RestRequest in org.apache.juneau.rest.server.tracing.otel
Methods in org.apache.juneau.rest.server.tracing.otel with parameters of type RestRequestModifier and TypeMethodDescriptionRestRequestTextMapGetter.get(RestRequest carrier, String key) RestRequestTextMapGetter.keys(RestRequest carrier) OtelTracerHook.startSpan(RestRequest request) OtelTracerHook.startSpan(RestRequest request, TraceContextCarrier carrier, TraceOperation operation) -
Uses of RestRequest in org.apache.juneau.rest.server.view
Methods in org.apache.juneau.rest.server.view with parameters of type RestRequestModifier and TypeMethodDescriptionvoidRawTemplateDispatcher.render(String path, RestRequest req, RestResponse res) Renders the raw template identified by the trailing request path onto the response.voidViewResource.render(String path, RestRequest req, RestResponse res) [GET /*] — render the raw template identified by the trailing path under this child's subtree mount.voidViewServlet.render(String path, RestRequest req, RestResponse res) [GET /*] — render the raw template identified by the trailing path under this servlet's sibling top-level mount. -
Uses of RestRequest in org.apache.juneau.rest.server.view.freemarker
Methods in org.apache.juneau.rest.server.view.freemarker that return RestRequestModifier and TypeMethodDescriptionstatic RestRequestFreemarkerRenderScope.request()Returns the request for the in-flight FreeMarker render.Methods in org.apache.juneau.rest.server.view.freemarker with parameters of type RestRequestModifier and TypeMethodDescriptionvoidFreemarkerDispatcher.render(String path, RestRequest req, RestResponse res) Renders a raw template through the FreeMarker engine onto the response.voidFreemarkerMixin.render(String path, RestRequest req, RestResponse res) [GET /freemarker/*] — render a raw template through the FreeMarker engine.freemarker.template.ConfigurationFreemarkerDispatcher.resolveConfiguration(RestRequest req) Resolves the activeConfiguration.freemarker.template.ConfigurationFreemarkerMixin.resolveConfiguration(RestRequest req) Resolves the activeConfigurationvia the sharedFreemarkerDispatcherworker. -
Uses of RestRequest in org.apache.juneau.rest.server.view.jsp
Methods in org.apache.juneau.rest.server.view.jsp with parameters of type RestRequestModifier and TypeMethodDescriptionvoidJspDispatcher.render(String path, RestRequest req, RestResponse res) Forwards the request to the JSP engine for the raw.jspresource at the trailing path.voidJspMixin.render(String path, RestRequest req, RestResponse res) [GET /jsp/*] — forward the request to the JSP engine. -
Uses of RestRequest in org.apache.juneau.rest.server.view.mustache
Methods in org.apache.juneau.rest.server.view.mustache with parameters of type RestRequestModifier and TypeMethodDescriptionvoidMustacheDispatcher.render(String path, RestRequest req, RestResponse res) Renders a raw template through the Mustache engine onto the response.voidMustacheMixin.render(String path, RestRequest req, RestResponse res) [GET /mustache/*] — render a raw template through the Mustache engine.com.github.mustachejava.MustacheFactoryMustacheDispatcher.resolveMustacheFactory(RestRequest req) Resolves the activeMustacheFactory.com.github.mustachejava.MustacheFactoryMustacheMixin.resolveMustacheFactory(RestRequest req) Resolves the activeMustacheFactoryvia the sharedMustacheDispatcherworker. -
Uses of RestRequest in org.apache.juneau.rest.server.view.thymeleaf
Methods in org.apache.juneau.rest.server.view.thymeleaf with parameters of type RestRequestModifier and TypeMethodDescriptionvoidThymeleafDispatcher.render(String path, RestRequest req, RestResponse res) Renders a raw template through the Thymeleaf engine onto the response.voidThymeleafMixin.render(String path, RestRequest req, RestResponse res) [GET /thymeleaf/*] — render a raw template through the Thymeleaf engine.org.thymeleaf.TemplateEngineThymeleafDispatcher.resolveTemplateEngine(RestRequest req) Resolves the activeTemplateEngine.org.thymeleaf.TemplateEngineThymeleafMixin.resolveTemplateEngine(RestRequest req) Resolves the activeTemplateEnginevia the sharedThymeleafDispatcherworker. -
Uses of RestRequest in org.apache.juneau.rest.server.widget
Methods in org.apache.juneau.rest.server.widget with parameters of type RestRequestModifier and TypeMethodDescriptionMenuItemWidget.getAfterShowScript(RestRequest req, RestResponse res) Optional Javascript to execute immediately after a menu item is shown.MenuItemWidget.getBeforeShowScript(RestRequest req, RestResponse res) Optional Javascript to execute immediately before a menu item is shown.ContentTypeMenuItem.getContent(RestRequest req, RestResponse res) abstract ObjectMenuItemWidget.getContent(RestRequest req, RestResponse res) The content of the popup.QueryMenuItem.getContent(RestRequest req, RestResponse res) protected FileFinderWidget.getFileFinder(RestRequest req) Returns the file finder to use for finding files on the file system.MenuItemWidget.getHtml(RestRequest req, RestResponse res) PoweredByApache.getHtml(RestRequest req, RestResponse res) Returns an Apache image tag hyperlinked to"http://apache.org" PoweredByJuneau.getHtml(RestRequest req, RestResponse res) Returns an Apache Juneau image tag hyperlinked to"http://juneau.apache.org" Widget.getHtml(RestRequest req, RestResponse res) Resolves the HTML content for this widget.ContentTypeMenuItem.getLabel(RestRequest req, RestResponse res) abstract StringMenuItemWidget.getLabel(RestRequest req, RestResponse res) The label for the menu item as it's rendered in the menu bar.QueryMenuItem.getLabel(RestRequest req, RestResponse res) MenuItemWidget.getScript(RestRequest req, RestResponse res) Returns the Javascript needed for the show and hide actions of the menu item.Widget.getScript(RestRequest req, RestResponse res) Resolves any Javascript that should be added to the<head>/<script> element.MenuItemWidget.getStyle(RestRequest req, RestResponse res) Defines a"menu-item" class that needs to be used on the outer element of the HTML returned by theMenuItemWidget.getHtml(RestRequest,RestResponse)method.QueryMenuItem.getStyle(RestRequest req, RestResponse res) Returns CSS for the tooltips.Widget.getStyle(RestRequest req, RestResponse res) Resolves any CSS styles that should be added to the<head>/<style> element.protected StringWidget.loadHtml(RestRequest req, String name) Loads the specified HTML file and strips HTML comments from the file.protected StringWidget.loadHtmlWithVars(RestRequest req, RestResponse res, String name) Same asWidget.loadHtml(RestRequest,String)but replaces request-time SVL variables.protected StringWidget.loadScript(RestRequest req, String name) Loads the specified javascript file and strips any Javascript comments from the file.protected StringWidget.loadScriptWithVars(RestRequest req, RestResponse res, String name) Same asWidget.loadScript(RestRequest,String)but replaces request-time SVL variables.protected StringWidget.loadStyle(RestRequest req, String name) Loads the specified CSS file and strips CSS comments from the file.protected StringWidget.loadStyleWithVars(RestRequest req, RestResponse res, String name) Same asWidget.loadStyle(RestRequest,String)but replaces request-time SVL variables. -
Uses of RestRequest in org.apache.juneau.terminal.region
Methods in org.apache.juneau.terminal.region with parameters of type RestRequestModifier and TypeMethodDescriptionstatic voidTerminalEndpoints.bytes(Optional<TerminalSource> source, RestRequest req, RestResponse res) Serves?from=<offset>&max=<n>as raw bytes with theTerm-*headers.static StringTerminalEndpoints.terminalAssetUrl(RestRequest req, String path) Returns the absolute URL of a terminal asset, resolved against the request, with a?v=<buildVersion>-<hash8>cache-buster.static StringTerminalMixin.terminalAssetUrl(RestRequest req, String path) The absolute URL of a terminal asset; the toolkit pack resolver for theterminalpack.default voidTerminalMixin.terminalBytes(String id, RestRequest req, RestResponse res) [GET /juneau-terminal/{id}/bytes] — raw bytes from an offset.default voidTerminalMixin.terminalRaw(String id, RestRequest req, RestResponse res) [GET /juneau-terminal/{id}/raw] — the whole log as an attachment.TerminalMixin.terminalSource(String id, RestRequest req) Resolves the source for a terminal id, applying the application's own access rules.