Uses of Class
org.apache.juneau.rest.RestOpSession
Packages that use RestOpSession
Package
Description
REST Server API
REST Method Argument Beans
HTTP Response Processors
-
Uses of RestOpSession in org.apache.juneau.rest
Methods in org.apache.juneau.rest 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.RestOpSession.status
(StatusLine value) Sets the status of the response.Methods in org.apache.juneau.rest with parameters of type RestOpSessionModifier and TypeMethodDescriptionvoid
RestOpInvoker.invoke
(RestOpSession opSession) Invokes this method from the specifiedRestSession
.protected void
RestContext.postCall
(RestOpSession session) Called during a request to invoke allRestPostCall
methods.protected void
RestContext.preCall
(RestOpSession session) Called during a request to invoke allRestPreCall
methods.protected void
RestContext.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.arg
Methods in org.apache.juneau.rest.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) 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.arg with type arguments of type RestOpSessionModifierConstructorDescriptionprotected
RestOpSessionArgs
(ThrowingFunction<RestOpSession, T> function) Constructor.protected
SimpleRestOperationArg
(ThrowingFunction<RestOpSession, T> function) Constructor. -
Uses of RestOpSession in org.apache.juneau.rest.processor
Methods in org.apache.juneau.rest.processor with parameters of type RestOpSessionModifier and TypeMethodDescriptionint
HttpEntityProcessor.process
(RestOpSession opSession) int
HttpResourceProcessor.process
(RestOpSession opSession) int
HttpResponseProcessor.process
(RestOpSession opSession) int
InputStreamProcessor.process
(RestOpSession opSession) int
PlainTextPojoProcessor.process
(RestOpSession opSession) int
ReaderProcessor.process
(RestOpSession opSession) int
ResponseBeanProcessor.process
(RestOpSession opSession) int
ResponseProcessor.process
(RestOpSession opSession) Process this response if possible.int
SerializedPojoProcessor.process
(RestOpSession opSession) int
ThrowableProcessor.process
(RestOpSession opSession) -
Uses of RestOpSession in org.apache.juneau.rest.rrpc
Subclasses of RestOpSession in org.apache.juneau.rest.rrpcModifier and TypeClassDescriptionclass
A session for a single HTTP request against an RRPC Java method.