Uses of Annotation Interface
org.apache.juneau.rest.server.RestOp
Packages that use RestOp
Package
Description
Example / demo Microservice REST Resources
REST Server API
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
-
Uses of RestOp in org.apache.juneau.microservice.examples
Methods in org.apache.juneau.microservice.examples with annotations of type RestOpModifier and TypeMethodDescriptionorg.apache.juneau.microservice.examples.DirectoryResource.FileContentsDirectoryResource.downloadFile(RestResponse res, String path) Downloads the contents of a file.org.apache.juneau.microservice.examples.DirectoryResource.FileContentsDirectoryResource.viewFile(RestResponse res, String path) Views the contents of a file. -
Uses of RestOp in org.apache.juneau.rest.server
Fields in org.apache.juneau.rest.server declared as RestOpMethods in org.apache.juneau.rest.server that return RestOp -
Uses of RestOp in org.apache.juneau.rest.server.ops
Methods in org.apache.juneau.rest.server.ops with annotations of type RestOpModifier and TypeMethodDescriptionvoidEchoMixin.echo(RestRequest req, RestResponse res, String remainder) [* /echo/*] — emit an introspection echo of the inbound request.voidErrorMixin.error()[* /error] - Error occurred. -
Uses of RestOp in org.apache.juneau.rest.server.staticfile
Methods in org.apache.juneau.rest.server.staticfile with annotations of type RestOpModifier and TypeMethodDescriptionStaticFilesMixin.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).