Package org.apache.juneau.rest.rrpc
Class RrpcRestOpSession
java.lang.Object
org.apache.juneau.ContextSession
org.apache.juneau.rest.RestOpSession
org.apache.juneau.rest.rrpc.RrpcRestOpSession
A session for a single HTTP request against an RRPC Java method.
 
Notes:
- This class is not thread safe.
See Also:
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedConstructor.
- 
Method SummaryModifier and TypeMethodDescriptionstatic RrpcRestOpSession.Buildercreate(RrpcRestOpContext ctx, RestSession session) Static creator.voidrun()Runs this session.Methods inherited from class org.apache.juneau.rest.RestOpSessioncreate, finish, getBeanStore, getContext, getRequest, getResponse, getRestContext, getRestSession, statusMethods inherited from class org.apache.juneau.ContextSessionaddWarning, checkForWarnings, getSessionProperties, getWarnings, isDebug, properties, toString
- 
Constructor Details- 
RrpcRestOpSessionConstructor.- Parameters:
- builder- The builder for this object.
 
 
- 
- 
Method Details- 
createStatic creator.- Parameters:
- ctx- The context of the RRPC Java Method.
- session- The REST session creating this session.
- Returns:
- A new builder.
 
- 
runDescription copied from class:RestOpSessionRuns this session.Does the following: - Runs the guards on the method.
- Finds the parameter values to pass to the Java method.
- Invokes the Java method.
- Sets the output and status on the response.
- Calls the converters on the Java method.
 - Overrides:
- runin class- RestOpSession
- Throws:
- Throwable- Any throwable can be thrown.
 
 
-