Package org.apache.juneau.rest.rrpc
Class RrpcRestOpContext
java.lang.Object
org.apache.juneau.Context
org.apache.juneau.rest.RestOpContext
org.apache.juneau.rest.rrpc.RrpcRestOpContext
- All Implemented Interfaces:
Comparable<RestOpContext>
,AnnotationProvider
A specialized "RRPC" HTTP methods.
RestOpContext
for handling Notes:
- This class is thread safe and reusable.
See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.juneau.rest.RestOpContext
RestOpContext.Builder
-
Field Summary
Fields inherited from class org.apache.juneau.Context
CONTEXT_APPLY_FILTER
Fields inherited from interface org.apache.juneau.AnnotationProvider
DEFAULT, DISABLE_ANNOTATION_CACHING
-
Constructor Summary
ModifierConstructorDescriptionprotected
RrpcRestOpContext
(RestOpContext.Builder builder) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncreateSession
(RestSession session) Creates a new REST operation session.protected RrpcInterfaceMeta
getMeta()
Returns the metadata about the RRPC Java method.Methods inherited from class org.apache.juneau.rest.RestOpContext
compareTo, copy, create, createRequest, createResponse, equals, getBeanContext, getDefaultCharset, getDefaultRequestAttributes, getDefaultRequestFormData, getDefaultRequestHeaders, getDefaultRequestQueryData, getDefaultResponseHeaders, getEncoders, getHttpMethod, getJavaMethod, getJsonSchemaGenerator, getMaxInput, getParsers, getPartParser, getPartSerializer, getPathPattern, getResponseBeanMeta, getResponseHeaderMeta, getResponseMeta, getSerializers, getSupportedAcceptTypes, getSupportedContentTypes, hashCode, match, properties
Methods inherited from class org.apache.juneau.Context
createBuilder, createSession, firstAnnotation, firstAnnotation, firstAnnotation, firstAnnotation, firstDeclaredAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachDeclaredAnnotation, getSession, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, init, isDebug, lastAnnotation, lastAnnotation, lastAnnotation, lastAnnotation, lastDeclaredAnnotation, toString
-
Constructor Details
-
RrpcRestOpContext
Constructor.- Parameters:
builder
- The builder for this method context.- Throws:
jakarta.servlet.ServletException
- Problem with metadata was detected.
-
-
Method Details
-
createSession
Description copied from class:RestOpContext
Creates a new REST operation session.- Overrides:
createSession
in classRestOpContext
- Parameters:
session
- The REST session.- Returns:
- A new REST operation session.
-
getMeta
Returns the metadata about the RRPC Java method.- Returns:
- The metadata about the RRPC Java method.
-