Uses of Class
org.apache.juneau.rest.RestSession
Packages that use RestSession
Package
Description
REST Server API
REST Method Argument Beans
- 
Uses of RestSession in org.apache.juneau.restMethods in org.apache.juneau.rest that return RestSessionModifier and TypeMethodDescriptionRestSession.Builder.build()RestSession.debug(boolean value) Enables or disabled debug mode on this call.Identifies that an exception occurred during this call.RestSession.finish()Called at the end of a call to finish any remaining tasks such as flushing buffers and logging the response.RestContext.getLocalSession()Returns the HTTP call for the current request.RestOpSession.getRestSession()Returns the session of the parent class of this Java method.RestSession.logger(CallLogger value) Sets the logger to use when logging this call.RestSession.status(int value) Sets the HTTP status on this call.RestSession.status(StatusLine value) Sets the HTTP status on this call.RestSession.urlPathMatch(UrlPathMatch value) Sets the URL path pattern match on this call.Methods in org.apache.juneau.rest with parameters of type RestSessionModifier and TypeMethodDescriptionstatic RestOpSession.BuilderRestOpSession.create(RestOpContext ctx, RestSession session) Static creator.RestOpContext.createRequest(RestSession session) Creates aRestRequestobject based on the specified incomingHttpServletRequestobject.RestOpContext.createResponse(RestSession session, RestRequest req) Creates aRestResponseobject based on the specified incomingHttpServletResponseobject and the request returned byRestOpContext.createRequest(RestSession).RestOpContext.createSession(RestSession session) Creates a new REST operation session.protected voidRestContext.endCall(RestSession session) Called at the end of a request to invoke allRestEndCallmethods.RestOperations.findOperation(RestSession session) Finds the method that should handle the specified call.protected voidRestContext.handleError(RestSession session, Throwable e) Method for handling response errors.protected voidRestContext.handleNotFound(RestSession session) Handle the case where a matching method was not found.protected intRestOpContext.match(RestSession session) Identifies if this method can process the specified call.protected voidRestContext.startCall(RestSession session) Called at the start of a request to invoke allRestStartCallmethods.Constructors in org.apache.juneau.rest with parameters of type RestSession
- 
Uses of RestSession in org.apache.juneau.rest.argConstructor parameters in org.apache.juneau.rest.arg with type arguments of type RestSessionModifierConstructorDescriptionprotectedRestSessionArgs(ThrowingFunction<RestSession, T> function) Constructor.
- 
Uses of RestSession in org.apache.juneau.rest.httppartConstructors in org.apache.juneau.rest.httppart with parameters of type RestSessionModifierConstructorDescriptionRequestPathParams(RestSession session, RestRequest req, boolean caseSensitive) Constructor.
- 
Uses of RestSession in org.apache.juneau.rest.rrpcMethods in org.apache.juneau.rest.rrpc with parameters of type RestSessionModifier and TypeMethodDescriptionstatic RrpcRestOpSession.BuilderRrpcRestOpSession.create(RrpcRestOpContext ctx, RestSession session) Static creator.RrpcRestOpContext.createSession(RestSession session) Constructors in org.apache.juneau.rest.rrpc with parameters of type RestSession