- Companion - Static variable in class ws.osiris.core.Api
-
- Companion - Static variable in class ws.osiris.core.ApiBuilder
-
- Companion - Static variable in class ws.osiris.core.ContentType
-
- Companion - Static variable in class ws.osiris.core.Filter
-
- Companion - Static variable in class ws.osiris.core.Params
-
- Companion - Static variable in interface ws.osiris.core.RequestContextFactory
-
- Companion - Static variable in class ws.osiris.core.Response
-
- Companion - Static variable in class ws.osiris.core.Route
-
- Companion - Static variable in class ws.osiris.core.RouteNode
-
- Companion - Static variable in class ws.osiris.core.Segment
-
- component1() - Method in class ws.osiris.core.Api
-
The routes defined by the API.
- component1() - Method in class ws.osiris.core.ContentType
-
The MIME type of the content.
- component1() - Method in class ws.osiris.core.ErrorInfo
-
- component1() - Method in class ws.osiris.core.FixedSegment
-
- component1() - Method in class ws.osiris.core.Headers
-
- component1() - Method in class ws.osiris.core.LambdaRoute
-
- component1() - Method in class ws.osiris.core.Request
-
- component1() - Method in class ws.osiris.core.Response
-
- component1() - Method in class ws.osiris.core.RouteMatch
-
- component1() - Method in class ws.osiris.core.StaticFiles
-
- component1() - Method in class ws.osiris.core.StaticRoute
-
- component1() - Method in class ws.osiris.core.VariableSegment
-
- component2() - Method in class ws.osiris.core.Api
-
Filters applied to requests before they are passed to a handler.
- component2() - Method in class ws.osiris.core.ContentType
-
The charset of the content.
- component2() - Method in class ws.osiris.core.ErrorInfo
-
- component2() - Method in class ws.osiris.core.LambdaRoute
-
- component2() - Method in class ws.osiris.core.Request
-
- component2() - Method in class ws.osiris.core.Response
-
- component2() - Method in class ws.osiris.core.RouteMatch
-
- component2() - Method in class ws.osiris.core.StaticFiles
-
- component2() - Method in class ws.osiris.core.StaticRoute
-
- component3() - Method in class ws.osiris.core.Api
-
The type of the object available to the code in the API definition that handles the HTTP requests.
- component3() - Method in class ws.osiris.core.LambdaRoute
-
- component3() - Method in class ws.osiris.core.Request
-
- component3() - Method in class ws.osiris.core.Response
-
- component3() - Method in class ws.osiris.core.StaticFiles
-
- component3() - Method in class ws.osiris.core.StaticRoute
-
- component4() - Method in class ws.osiris.core.Api
-
True if this API serves static files.
- component4() - Method in class ws.osiris.core.LambdaRoute
-
- component4() - Method in class ws.osiris.core.Request
-
- component5() - Method in class ws.osiris.core.Request
-
- component6() - Method in class ws.osiris.core.Request
-
- component7() - Method in class ws.osiris.core.Request
-
- component8() - Method in class ws.osiris.core.Request
-
- ComponentsProvider - Interface in ws.osiris.core
-
Provides all the components used by the implementation of the API.
- CONTENT_LENGTH - Static variable in class ws.osiris.core.HttpHeaders
-
- CONTENT_TYPE - Static variable in class ws.osiris.core.HttpHeaders
-
- ContentType - Class in ws.osiris.core
-
Represents the data in a Content-Type header; includes the MIME type and an optional charset.
- ContentType(mimeType, charset) - Constructor for class ws.osiris.core.ContentType
-
Represents the data in a Content-Type header; includes the MIME type and an optional charset.
- ContentType(mimeType) - Constructor for class ws.osiris.core.ContentType
-
Creates an instance with the specified MIME type and not charset.
- ContentType.Companion - Class in ws.osiris.core
-
- copy(routes, filters, componentsClass, staticFiles) - Method in class ws.osiris.core.Api
-
A model describing an API; it contains the routes to the API endpoints and the code executed
when the API receives requests.
- copy(mimeType, charset) - Method in class ws.osiris.core.ContentType
-
Represents the data in a Content-Type header; includes the MIME type and an optional charset.
- copy(status, message) - Method in class ws.osiris.core.ErrorInfo
-
The information describing an error.
- copy(pathPart) - Method in class ws.osiris.core.FixedSegment
-
- copy(headerMap) - Method in class ws.osiris.core.Headers
-
A map of HTTP headers that looks up values in a case-insensitive fashion (in accordance with the HTTP spec).
- copy(method, path, handler, auth) - Method in class ws.osiris.core.LambdaRoute
-
Describes an endpoint in a REST API whose requests are handled by a lambda.
- copy(method, path, headers, queryParams, pathParams, context, body, attributes, defaultResponseHeaders) - Method in class ws.osiris.core.Request
-
Contains the details of an HTTP request received by the API.
- copy(status, headers, body) - Method in class ws.osiris.core.Response
-
The details of the HTTP response returned from the code handling a request.
- copy(handler, vars) - Method in class ws.osiris.core.RouteMatch
-
- copy(path, indexFile, auth) - Method in class ws.osiris.core.StaticFiles
-
- copy(path, indexFile, auth) - Method in class ws.osiris.core.StaticRoute
-
Describes an endpoint in a REST API that serves static files.
- copy(variableName) - Method in class ws.osiris.core.VariableSegment
-
- create(api) - Method in class ws.osiris.core.RouteNode.Companion
-
Creates a tree of RouteNode instances representing the routes in the API.
- create(pathPart) - Method in class ws.osiris.core.Segment.Companion
-
- create() - Method in class ws.osiris.core.StandardFilters
-
- createContext(httpMethod, path, headers, queryParams, pathParams, body) - Method in interface ws.osiris.core.RequestContextFactory
-
- get(path, handler) - Method in class ws.osiris.core.ApiBuilder
-
Defines an endpoint that handles GET requests to the path.
- get(header) - Method in class ws.osiris.core.Headers
-
Returns the value for the specified header; lookup is case-insensitive in accordance with the HTTP spec.
- get(name) - Method in class ws.osiris.core.Params
-
Returns the named parameter or throws IllegalArgumentException if there is no parameter with the name.
- getAttributes() - Method in class ws.osiris.core.Request
-
- getAuth() - Method in class ws.osiris.core.LambdaRoute
-
- getAuth() - Method in class ws.osiris.core.Route
-
- getAuth() - Method in class ws.osiris.core.StaticFiles
-
- getAuth() - Method in class ws.osiris.core.StaticRoute
-
- getAuth() - Method in class ws.osiris.core.StaticRouteNode
-
- getBody() - Method in class ws.osiris.core.Request
-
- getBody() - Method in class ws.osiris.core.Response
-
- getCharset() - Method in class ws.osiris.core.ContentType
-
The charset of the content.
- getComponentsClass() - Method in class ws.osiris.core.Api
-
The type of the object available to the code in the API definition that handles the HTTP requests.
- getContext() - Method in class ws.osiris.core.Request
-
- getFilters() - Method in class ws.osiris.core.Api
-
Filters applied to requests before they are passed to a handler.
- getFixedChildren() - Method in class ws.osiris.core.RouteNode
-
The fixed node children of this node,
- getGlobalFilters() - Method in class ws.osiris.core.RootApiBuilder
-
- getHandler() - Method in class ws.osiris.core.Filter
-
- getHandler() - Method in class ws.osiris.core.LambdaRoute
-
- getHandler() - Method in class ws.osiris.core.RouteMatch
-
- getHandlers() - Method in class ws.osiris.core.RouteNode
-
Handlers
- getHeader() - Method in class ws.osiris.core.ContentType
-
The string representation of this content type used in a Content-Type header.
- getHeaderMap() - Method in class ws.osiris.core.Headers
-
- getHeaders() - Method in class ws.osiris.core.Request
-
- getHeaders() - Method in class ws.osiris.core.Response
-
- getHeaders() - Method in class ws.osiris.core.ResponseBuilder
-
- getHttpStatus() - Method in exception ws.osiris.core.HttpException
-
- getIndexFile() - Method in class ws.osiris.core.StaticFiles
-
- getIndexFile() - Method in class ws.osiris.core.StaticFilesBuilder
-
- getIndexFile() - Method in class ws.osiris.core.StaticRoute
-
- getIndexFile() - Method in class ws.osiris.core.StaticRouteNode
-
- getJSON_CONTENT_TYPE() - Static method in class ws.osiris.core.HttpKt
-
The default content type in API Gateway; everything is assumed to return JSON unless it states otherwise.
- getLog() - Static method in class ws.osiris.core.FiltersKt
-
- getMessage() - Method in class ws.osiris.core.ErrorInfo
-
- getMethod() - Method in class ws.osiris.core.LambdaRoute
-
- getMethod() - Method in class ws.osiris.core.Request
-
- getMimeType() - Method in class ws.osiris.core.ContentType
-
The MIME type of the content.
- getName() - Method in interface ws.osiris.core.Auth
-
The name of the authorisation strategy.
- getName() - Method in class ws.osiris.core.NoAuth
-
The name of the authorisation strategy.
- getName() - Method in class ws.osiris.core.RouteNode
-
The name of the node;
- getParams() - Method in class ws.osiris.core.Params
-
- getPath() - Method in class ws.osiris.core.LambdaRoute
-
- getPath() - Method in class ws.osiris.core.Request
-
- getPath() - Method in class ws.osiris.core.Route
-
- getPath() - Method in class ws.osiris.core.StaticFiles
-
- getPath() - Method in class ws.osiris.core.StaticFilesBuilder
-
- getPath() - Method in class ws.osiris.core.StaticRoute
-
- getPathParams() - Method in class ws.osiris.core.Request
-
- getPathPart() - Method in class ws.osiris.core.FixedSegment
-
- getQueryParams() - Method in class ws.osiris.core.Request
-
- getRoutes() - Method in class ws.osiris.core.Api
-
The routes defined by the API.
- getStaticFiles() - Method in class ws.osiris.core.Api
-
True if this API serves static files.
- getStatus() - Method in class ws.osiris.core.ErrorInfo
-
- getStatus() - Method in class ws.osiris.core.Response
-
- getVariableChild() - Method in class ws.osiris.core.RouteNode
-
The variable node that is a child of this node;
- getVariableName() - Method in class ws.osiris.core.VariableSegment
-
- getVars() - Method in class ws.osiris.core.RouteMatch
-