Package org.apache.juneau.rest
Class RestOpSession.Builder
java.lang.Object
org.apache.juneau.ContextSession.Builder
org.apache.juneau.rest.RestOpSession.Builder
- Direct Known Subclasses:
- RrpcRestOpSession.Builder
- Enclosing class:
- RestOpSession
Builder class.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Build the object.debug(boolean value) Enables or disabled debug mode on this call.logger(CallLogger value) Sets the logger to use when logging this call.Methods inherited from class org.apache.juneau.ContextSession.Builderapply, debug, properties, property, unmodifiable
- 
Constructor Details- 
BuilderConstructor.- Parameters:
- ctx- The context object of the Java method being invoked.
- session- The REST session object creating this object.
 
 
- 
- 
Method Details- 
loggerSets the logger to use when logging this call.- Parameters:
- value- The new value for this setting. Can be- null .
- Returns:
- This object.
 
- 
debugEnables or disabled debug mode on this call.- Parameters:
- value- The new value for this setting.
- Returns:
- This object.
- Throws:
- IOException- Occurs if request content could not be cached into memory.
 
- 
buildDescription copied from class:ContextSession.BuilderBuild the object.- Specified by:
- buildin class- ContextSession.Builder
- Returns:
- The built object.
 
 
-