Uses of Annotation Interface
org.apache.juneau.http.Path
Packages that use Path
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.
A typed, declarative "rich DataTables view" toolkit that serializes to the frozen
VIEW_META JSON wire
contract consumed by the first-party client runtime.Example / demo Microservice REST Resources
Typed
@Remote client view of the petstore API.Petstore console Developer pages: custom cards, themes, rendering flavors and the secure API demo.
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.
Petstore REST resources.
Actuator-style management-surface endpoints (server-module flavors).
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.Remote service API
REST Static Files Support
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.Server Configuration REST
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 Path in org.apache.juneau.console
Method parameters in org.apache.juneau.console with annotations of type PathModifier and TypeMethodDescriptionConsoleChromeMixin.getThemeCss(String file) [GET /juneau-console/themes/{file}] — serve one of the shipped stock-theme stylesheets. -
Uses of Path in org.apache.juneau.console.bus
Method parameters in org.apache.juneau.console.bus with annotations of type PathModifier and TypeMethodDescriptiondefault voidBusEventsMixin.streamBus(String id, RestRequest req, RestResponse res) [GET /juneau-bus/stream/{sessionId}] — streams the session's frames as Server-Sent Events. -
Uses of Path in org.apache.juneau.console.views
Method parameters in org.apache.juneau.console.views with annotations of type PathModifier and TypeMethodDescriptiondefault ActionResultAsyncJobsMixin.cancelJob(String jobId, RestResponse res) [POST /juneau-jobs/{jobId}/cancel] — cancel a job and return its terminal result.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. -
Uses of Path in org.apache.juneau.microservice.examples
Method parameters in org.apache.juneau.microservice.examples with annotations of type PathModifier and TypeMethodDescriptionorg.apache.juneau.microservice.examples.DirectoryResource.RedirectToRootDirectoryResource.deleteFile(String path) Deletes a file on the file system.org.apache.juneau.microservice.examples.LogsResource.RedirectToRootLogsResource.deleteFile(String path) Deletes a log file on the file system.org.apache.juneau.microservice.examples.DirectoryResource.FileContentsDirectoryResource.downloadFile(RestResponse res, String path) Downloads the contents of a file.org.apache.juneau.microservice.examples.LogsResource.FileContentsLogsResource.downloadFile(RestResponse res, String path) Downloads the contents of a file.ConfigResource.getConfigEntry(String section, String key) ConfigResource.getConfigEntry(String section, String key) ConfigResource.getConfigSection(String section) 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.ConfigResource.setConfigSection(String section, Map<String, Object> contents) ConfigResource.setConfigValue(String section, String key, String value) ConfigResource.setConfigValue(String section, String key, String value) org.apache.juneau.microservice.examples.DirectoryResource.RedirectToRootDirectoryResource.updateFile(InputStream is, String path) Adds or overwrites a file on the file system.org.apache.juneau.microservice.examples.DirectoryResource.FileContentsDirectoryResource.viewFile(RestResponse res, String path) Views the contents of a file.voidLogsResource.viewFile(RestResponse res, String path, boolean highlight, String start, String end, String thread, String[] loggers, String[] severity) Views the contents of a log file with optional filtering.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 Path in org.apache.juneau.petstore.client
Method parameters in org.apache.juneau.petstore.client with annotations of type Path -
Uses of Path in org.apache.juneau.petstore.console.dev
Method parameters in org.apache.juneau.petstore.console.dev with annotations of type PathModifier and TypeMethodDescriptionSecureApiRest.pet(long id) 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 Path in org.apache.juneau.petstore.console.ops
Method parameters in org.apache.juneau.petstore.console.ops with annotations of type PathModifier and TypeMethodDescriptionJobsRest.groomRunDetail(String id) A groom run's detail panel.JobsRest.groomRunKey(RestRequest req, String id) Issues a regroom key bound to one groom run and the caller.JobsRest.regroom(RestRequest req, RestResponse res, String id, JsonMap json) Grooms a run's pet again.JobsRest.restockSpecies(RestRequest req, RestResponse res, String id, JsonMap json) Restocks one species from its row's detail panel.JobsRest.speciesDetail(String id) A species row's detail panel.JobsRest.speciesKey(RestRequest req, String id) Issues a restock key bound to one species and the caller. -
Uses of Path in org.apache.juneau.petstore.console.orders
Method parameters in org.apache.juneau.petstore.console.orders with annotations of type PathModifier and TypeMethodDescriptionOrdersRest.approve(RestRequest req, long id) Approves a placed order.OrdersRest.cancel(RestRequest req, long id) Deletes (cancels) an order.OrdersRest.cancelForm(long id) The cancel dialog form: a reason and whether to notify the customer.OrdersRest.deliver(RestRequest req, long id) Delivers an approved order. -
Uses of Path in org.apache.juneau.petstore.console.pets
Method parameters in org.apache.juneau.petstore.console.pets with annotations of type PathModifier and TypeMethodDescriptionChangesRest.apply(RestRequest req, long id) Applies one change (the bulk perRow action).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.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.PetsRest.detailTab(RestRequest req, RestResponse res, long id, String tab) P4, one tab.PetsRest.historyRows(long id) PetsRest.orderDetail(long id, long orderId) The Orders tab's row-detail GET.PetsRest.orderDetail(long id, long orderId) The Orders tab's row-detail GET.PetsRest.orderRows(long id) ChangesRest.retry(RestRequest req, long id) Retries a failed change.PetsRest.row(long id) PetsRest.sell(RestRequest req, long id) Marks a pet sold.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 Path in org.apache.juneau.petstore.console.users
Method parameters in org.apache.juneau.petstore.console.users with annotations of type PathModifier and TypeMethodDescriptionUsersRest.delete(RestRequest req, String username) Deletes a user.UsersRest.update(RestRequest req, String username, JsonMap body) Updates a user. -
Uses of Path in org.apache.juneau.petstore.rest
Method parameters in org.apache.juneau.petstore.rest with annotations of type PathModifier and TypeMethodDescriptionvoidPetStoreResource.deleteOrder(long id) Deletes an order by ID.voidPetStoreResource.deletePet(long id) Deletes a pet by ID.voidPetStoreResource.deleteUser(String username) Deletes a user by username.PetStoreResource.getOrder(long id) Retrieves an order by ID.PetStoreResource.getPet(long id) Retrieves a pet by ID.PetStoreResource.getPetPhoto(long id) Retrieves the uploaded photo for a pet.Retrieves a user by username.PetStoreResource.putPetPhoto(long id, BufferedImage image) Uploads a photo for a pet.PetStoreResource.updateOrder(long id, Order order) Updates an existing order.Updates an existing pet.PetStoreResource.updateUser(String username, User user) Updates an existing user. -
Uses of Path in org.apache.juneau.rest.server.management
Method parameters in org.apache.juneau.rest.server.management with annotations of type PathModifier and TypeMethodDescriptionLoggersMixin.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.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 Path in org.apache.juneau.rest.server.ops
Method parameters in org.apache.juneau.rest.server.ops with annotations of type PathModifier and TypeMethodDescriptionvoidEchoMixin.echo(RestRequest req, RestResponse res, String remainder) [* /echo/*] — emit an introspection echo of the inbound request.HtdocMixin.getHtdoc(RestRequest req, String path, Locale locale) [GET /htdocs/*] - Retrieve static file. -
Uses of Path in org.apache.juneau.rest.server.remote
Method parameters in org.apache.juneau.rest.server.remote with annotations of type PathModifier and TypeMethodDescriptionRrpcServlet.invoke(Reader r, ReaderParser p, ContentType contentType, String javaInterface, String javaMethod) RrpcServlet.invoke(Reader r, ReaderParser p, ContentType contentType, String javaInterface, String javaMethod) RrpcServlet.listMethods(String javaInterface) RrpcServlet.showEntryForm(String javaInterface, String javaMethod) RrpcServlet.showEntryForm(String javaInterface, String javaMethod) -
Uses of Path in org.apache.juneau.rest.server.staticfile
Method parameters in org.apache.juneau.rest.server.staticfile with annotations of type PathModifier 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.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. -
Uses of Path in org.apache.juneau.rest.server.view
Method parameters in org.apache.juneau.rest.server.view with annotations of type PathModifier and TypeMethodDescriptionvoidViewResource.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 Path in org.apache.juneau.rest.server.view.freemarker
Method parameters in org.apache.juneau.rest.server.view.freemarker with annotations of type PathModifier and TypeMethodDescriptionvoidFreemarkerMixin.render(String path, RestRequest req, RestResponse res) [GET /freemarker/*] — render a raw template through the FreeMarker engine. -
Uses of Path in org.apache.juneau.rest.server.view.jsp
Method parameters in org.apache.juneau.rest.server.view.jsp with annotations of type PathModifier and TypeMethodDescriptionvoidJspMixin.render(String path, RestRequest req, RestResponse res) [GET /jsp/*] — forward the request to the JSP engine. -
Uses of Path in org.apache.juneau.rest.server.view.mustache
Method parameters in org.apache.juneau.rest.server.view.mustache with annotations of type PathModifier and TypeMethodDescriptionvoidMustacheMixin.render(String path, RestRequest req, RestResponse res) [GET /mustache/*] — render a raw template through the Mustache engine. -
Uses of Path in org.apache.juneau.rest.server.view.thymeleaf
Method parameters in org.apache.juneau.rest.server.view.thymeleaf with annotations of type PathModifier and TypeMethodDescriptionvoidThymeleafMixin.render(String path, RestRequest req, RestResponse res) [GET /thymeleaf/*] — render a raw template through the Thymeleaf engine. -
Uses of Path in org.apache.juneau.server.config.rest
Method parameters in org.apache.juneau.server.config.rest with annotations of type Path -
Uses of Path in org.apache.juneau.terminal.region
Method parameters in org.apache.juneau.terminal.region with annotations of type PathModifier and TypeMethodDescriptiondefault 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.