Uses of Class
org.apache.juneau.rest.server.RestOpSession
Packages that use RestOpSession
Package
Description
Reusable widget primitives for the Juneau REST server toolkit.
REST Server API
REST Method Argument Beans
Authentication (AuthN) guards, servlet-layer filters, SPIs, and request-time helpers for
juneau-rest-server.HTTP Response Processors
Reactive-Streams return-type support for
@RestOp handlers (opt-in, dependency-free).REST Remote Procedure Call API
Tracing SPI for
juneau-rest-server — per-request span hook backed by a
caller-supplied TracerHook bean.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.-
Uses of RestOpSession in org.apache.juneau.console.widgets
Methods in org.apache.juneau.console.widgets with parameters of type RestOpSessionModifier and TypeMethodDescriptionintWidgetsMixin.WidgetValidationProcessor.process(RestOpSession opSession) -
Uses of RestOpSession in org.apache.juneau.rest.server
Methods in org.apache.juneau.rest.server that return RestOpSessionModifier and TypeMethodDescriptionRestOpSession.Builder.build()RestOpSession.finish()Called at the end of a call to finish any remaining tasks such as flushing buffers and logging the response.RestSession.getOpSession()Returns the operation session of this REST session.RestSession.getOpSessionOrNull()Returns theRestOpSessioncreated duringRestSession.run()if one has been built, ornullotherwise.RestOpSession.status(HttpStatusLine value) Sets the status of the response.Methods in org.apache.juneau.rest.server with parameters of type RestOpSessionModifier and TypeMethodDescriptionprotected voidRestContext.authenticate(RestOpSession session) Runs the effective authenticator chain for this request, folding results and applying the resolved principal/roles to theRestRequest.voidRestOpInvoker.invoke(RestOpSession opSession) Invokes this method from the specifiedRestOpSession.voidRestOpInvoker.invokeOp(RestOpSession opSession) Invokes this method as the main@RestOphandler from the specifiedRestOpSession, firing per-request observability hooks (MetricsRecorderandTracerHook) around the underlying invocation.protected voidRestContext.postCall(RestOpSession session) Called during a request to invoke allRestPostCallmethods.protected voidRestContext.preCall(RestOpSession session) Called during a request to invoke allRestPreCallmethods.voidRestContext.processResponse(RestOpSession opSession) The main method for serializing POJOs passed in through theRestResponse.setContent(Object)method or returned by the Java method. -
Uses of RestOpSession in org.apache.juneau.rest.server.arg
Methods in org.apache.juneau.rest.server.arg with parameters of type RestOpSessionModifier and TypeMethodDescriptionAttributeArg.resolve(RestOpSession opSession) ContentArg.resolve(RestOpSession opSession) DefaultArg.resolve(RestOpSession opSession) FormDataArg.resolve(RestOpSession opSession) HasFormDataArg.resolve(RestOpSession opSession) HasQueryArg.resolve(RestOpSession opSession) HeaderArg.resolve(RestOpSession opSession) MethodArg.resolve(RestOpSession opSession) PathArg.resolve(RestOpSession opSession) PathRemainderArg.resolve(RestOpSession opSession) QueryArg.resolve(RestOpSession opSession) RequestBeanArg.resolve(RestOpSession opSession) ResponseBeanArg.resolve(RestOpSession opSession) ResponseCodeArg.resolve(RestOpSession opSession) ResponseHeaderArg.resolve(RestOpSession opSession) RestOpArg.resolve(RestOpSession opSession) Resolves the parameter object.SimpleRestOperationArg.resolve(RestOpSession opSession) Constructor parameters in org.apache.juneau.rest.server.arg with type arguments of type RestOpSessionModifierConstructorDescriptionprotectedRestOpSessionArgs(ThrowingFunction<RestOpSession, T> function) Constructor.protectedSimpleRestOperationArg(ThrowingFunction<RestOpSession, T> function) Constructor. -
Uses of RestOpSession in org.apache.juneau.rest.server.auth
Methods in org.apache.juneau.rest.server.auth with parameters of type RestOpSession -
Uses of RestOpSession in org.apache.juneau.rest.server.processor
Methods in org.apache.juneau.rest.server.processor with parameters of type RestOpSessionModifier and TypeMethodDescriptionstatic booleanAsyncResponseProcessor.isAsyncDispatchOwned(RestOpSession opSession) Returns whether the given session has been handed off to async dispatch.static voidAsyncResponseProcessor.markAsyncOwnedAndSnapshot(RestOpSession opSession) Publishes async ownership and the resolved debug snapshot on the request thread, before any completion callback or streaming subscription is registered.intAsyncResponseProcessor.process(RestOpSession opSession) intHttpBodyProcessor.process(RestOpSession opSession) intHttpResourceProcessor.process(RestOpSession opSession) intHttpResponseProcessor.process(RestOpSession opSession) intInputStreamProcessor.process(RestOpSession opSession) intPlainTextPojoProcessor.process(RestOpSession opSession) intProblemDetailsProcessor.process(RestOpSession opSession) intReaderProcessor.process(RestOpSession opSession) intResponseBeanProcessor.process(RestOpSession opSession) intResponseProcessor.process(RestOpSession opSession) Process this response if possible.intSerializedPojoProcessor.process(RestOpSession opSession) intThrowableProcessor.process(RestOpSession opSession) -
Uses of RestOpSession in org.apache.juneau.rest.server.reactive
Methods in org.apache.juneau.rest.server.reactive with parameters of type RestOpSession -
Uses of RestOpSession in org.apache.juneau.rest.server.rrpc
Subclasses of RestOpSession in org.apache.juneau.rest.server.rrpcModifier and TypeClassDescriptionclassA session for a single HTTP request against an RRPC Java method. -
Uses of RestOpSession in org.apache.juneau.rest.server.tracing
Methods in org.apache.juneau.rest.server.tracing with parameters of type RestOpSessionModifier and TypeMethodDescriptionintTraceContextResponseProcessor.process(RestOpSession opSession) -
Uses of RestOpSession in org.apache.juneau.rest.server.view.freemarker
Methods in org.apache.juneau.rest.server.view.freemarker with parameters of type RestOpSession -
Uses of RestOpSession in org.apache.juneau.rest.server.view.jsp
Methods in org.apache.juneau.rest.server.view.jsp with parameters of type RestOpSession -
Uses of RestOpSession in org.apache.juneau.rest.server.view.mustache
Methods in org.apache.juneau.rest.server.view.mustache with parameters of type RestOpSession -
Uses of RestOpSession in org.apache.juneau.rest.server.view.thymeleaf
Methods in org.apache.juneau.rest.server.view.thymeleaf with parameters of type RestOpSession