Package org.apache.juneau.rest
Class RestOperations
java.lang.Object
org.apache.juneau.rest.RestOperations
- Direct Known Subclasses:
- RestOperations.Void
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classBuilder class.final classRepresents a null value for theRest.restOperationsClass()annotation.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic RestOperations.BuilderStatic creator.findOperation(RestSession session) Finds the method that should handle the specified call.Returns the list of method contexts in this object.
- 
Constructor Details- 
RestOperationsConstructor.- Parameters:
- builder- The builder containing the settings for this object.
 
 
- 
- 
Method Details- 
createStatic creator.- Parameters:
- beanStore- The bean store to use for creating beans.
- Returns:
- A new builder for this object.
 
- 
findOperationpublic RestOpContext findOperation(RestSession session) throws MethodNotAllowed, PreconditionFailed, NotFound Finds the method that should handle the specified call.- Parameters:
- session- The HTTP call.
- Returns:
- The method that should handle the specified call.
- Throws:
- MethodNotAllowed- If no methods implement the requested HTTP method.
- PreconditionFailed- At least one method was found but it didn't match one or more matchers.
- NotFound- HTTP method match was found but matching path was not.
 
- 
getOpContextsReturns the list of method contexts in this object.- Returns:
- An unmodifiable list of method contexts in this object.
 
 
-