public interface HttpContextFactory
Context
s for
each JSON request. The returned context must include a
RootContext
as its root and may include
zero or more sub-contexts.
As an example, a context factory may return a context chain which includes authentication state information.
Modifier and Type | Method and Description |
---|---|
Context |
createContext(Context parent,
Request request)
Returns the context which should be used for the provided HTTP request.
|
Context createContext(Context parent, Request request) throws ResourceException
parent
- The parent context.request
- The HTTP request which is about to be processed.ResourceException
- If a request context could not be obtained.Copyright © 2025 Open Identity Platform Community. All rights reserved.