Uses of Annotation Interface
org.apache.juneau.http.Content
Packages that use Content
Package
Description
Example / demo Microservice REST Resources
Typed
@Remote client view of the petstore API.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).
Revision-neutral core for MCP endpoints built on
juneau-rest-server.-
Uses of Content in org.apache.juneau.microservice.examples
Method parameters in org.apache.juneau.microservice.examples with annotations of type ContentModifier and TypeMethodDescriptionConfigResource.setConfigContents(Reader contents) ConfigResource.setConfigSection(String section, Map<String, Object> contents) 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. -
Uses of Content in org.apache.juneau.petstore.client
Method parameters in org.apache.juneau.petstore.client with annotations of type Content -
Uses of Content in org.apache.juneau.petstore.console.ops
Method parameters in org.apache.juneau.petstore.console.ops with annotations of type ContentModifier and TypeMethodDescriptionStarts a groom run.AuditRest.query(DataTablesRequest req) Server-mode DataTables query over the audit trail.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. -
Uses of Content in org.apache.juneau.petstore.console.orders
Method parameters in org.apache.juneau.petstore.console.orders with annotations of type ContentModifier and TypeMethodDescriptionOrdersRest.create(RestRequest req, JsonMap body) Places a new order.OrdersRest.query(DataTablesRequest req, String day, String start, String end) Server-mode DataTables query over all orders. -
Uses of Content in org.apache.juneau.petstore.console.pets
Method parameters in org.apache.juneau.petstore.console.pets with annotations of type ContentModifier and TypeMethodDescriptionPetsRest.create(RestRequest req, JsonMap body) Creates a pet.ChangesRest.discard(RestRequest req, BulkRequest body, String fail) Discards changes in one aggregate call.ChangesRest.query(DataTablesRequest req) Server-mode DataTables query over staged changes.PetsRest.query(DataTablesRequest req, String ids) Server-mode DataTables query over all pets.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 Content in org.apache.juneau.petstore.console.users
Method parameters in org.apache.juneau.petstore.console.users with annotations of type ContentModifier and TypeMethodDescriptionUsersRest.create(RestRequest req, JsonMap body) Creates a user.UsersRest.query(DataTablesRequest req) Server-mode DataTables query over all users, as password-free views.UsersRest.update(RestRequest req, String username, JsonMap body) Updates a user. -
Uses of Content in org.apache.juneau.petstore.rest
Method parameters in org.apache.juneau.petstore.rest with annotations of type ContentModifier and TypeMethodDescriptionPetStoreResource.createOrder(Order order) Creates a new order.Creates a new pet.PetStoreResource.createUser(User user) Creates a new user.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 Content in org.apache.juneau.rest.server.management
Method parameters in org.apache.juneau.rest.server.management with annotations of type ContentModifier and TypeMethodDescriptionLoggersMixin.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 Content in org.apache.juneau.rest.server.mcp
Method parameters in org.apache.juneau.rest.server.mcp with annotations of type ContentModifier and TypeMethodDescriptionAbstractMcpRestServlet.handleMcp(JsonRpcRequest req, RestRequest restReq) MCP JSON-RPC endpoint.default ObjectMcpEndpointMixin.handleMcpRequest(JsonRpcRequest req, RestRequest restReq) Default MCP JSON-RPC endpoint handler.