Package com.yahoo.restapi
Interface RestApi.RequestContext
- Enclosing interface:
- RestApi
public static interface RestApi.RequestContext
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
static interface
static interface
static interface
-
Method Summary
-
Method Details
-
request
HttpRequest request() -
pathParameters
RestApi.RequestContext.PathParameters pathParameters() -
queryParameters
RestApi.RequestContext.QueryParameters queryParameters() -
headers
RestApi.RequestContext.Headers headers() -
attributes
RestApi.RequestContext.Attributes attributes() -
requestContent
Optional<RestApi.RequestContext.RequestContent> requestContent() -
requestContentOrThrow
RestApi.RequestContext.RequestContent requestContentOrThrow() -
jacksonJsonMapper
com.fasterxml.jackson.databind.ObjectMapper jacksonJsonMapper() -
baseRequestURL
ai.vespa.http.HttpURL baseRequestURL()Scheme, domain and port, for the original request. Use this only for generating resources links, not for custom routing! -
aclAction
AclMapping.Action aclAction() -
userPrincipal
-
userPrincipalOrThrow
Principal userPrincipalOrThrow()
-