A B C D E F G H I J K M N O P Q R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(String, String) - Method in class com.yahoo.application.container.handler.Headers
-
Adds the given value to the entry of the specified key.
- add(String, List<String>) - Method in class com.yahoo.application.container.handler.Headers
-
Adds the given values to the entry of the specified key.
- addAll(Map<? extends String, ? extends List<String>>) - Method in class com.yahoo.application.container.handler.Headers
-
Adds all the entries of the given map to this.
- Application - Class in com.yahoo.application
-
Contains one or more containers built from services.xml.
- Application.Builder - Class in com.yahoo.application
-
A wrapper around ApplicationBuilder that generates a services.xml
- Application.Builder.Container - Class in com.yahoo.application
- ApplicationBuilder - Class in com.yahoo.application
-
Builds an application package on disk and returns a path to the result.
- ApplicationBuilder() - Constructor for class com.yahoo.application.ApplicationBuilder
B
- build() - Method in class com.yahoo.application.ApplicationBuilder
- build() - Method in class com.yahoo.application.MockApplicationConfig.Builder
- build() - Method in class com.yahoo.application.MockApplicationConfig.Mymapstruct.Builder
- build() - Method in class com.yahoo.application.MockApplicationConfig.Mystruct.Builder
- build() - Method in class com.yahoo.application.MockApplicationConfig.Mystructlist.Builder
- Builder() - Constructor for class com.yahoo.application.Application.Builder
- Builder() - Constructor for class com.yahoo.application.MockApplicationConfig.Builder
- Builder() - Constructor for class com.yahoo.application.MockApplicationConfig.Mymapstruct.Builder
- Builder() - Constructor for class com.yahoo.application.MockApplicationConfig.Mystruct.Builder
- Builder() - Constructor for class com.yahoo.application.MockApplicationConfig.Mystructlist.Builder
- Builder(MockApplicationConfig) - Constructor for class com.yahoo.application.MockApplicationConfig.Builder
- Builder(MockApplicationConfig.Mymapstruct) - Constructor for class com.yahoo.application.MockApplicationConfig.Mymapstruct.Builder
- Builder(MockApplicationConfig.Mystruct) - Constructor for class com.yahoo.application.MockApplicationConfig.Mystruct.Builder
- Builder(MockApplicationConfig.Mystructlist) - Constructor for class com.yahoo.application.MockApplicationConfig.Mystructlist.Builder
C
- clear() - Method in class com.yahoo.application.container.handler.Headers
- client(String, Class<? extends ClientProvider>) - Method in class com.yahoo.application.Application.Builder.Container
- close() - Method in class com.yahoo.application.Application
-
Shuts down all services.
- close() - Method in class com.yahoo.application.container.JDisc
-
Closes the current JDisc.
- com.yahoo.application - package com.yahoo.application
-
This package provides an API for building Vespa or jDisc applications programmatically or from an application package source, and instantiating those applications inside the current Java runtime.
- com.yahoo.application.container - package com.yahoo.application.container
-
API for interacting with a locally instantiated jDisc container.
- com.yahoo.application.container.handler - package com.yahoo.application.container.handler
-
API for passing requests and inspecting responses to a locally instantiated container.
- component(Class<?>) - Method in class com.yahoo.application.Application.Builder.Container
- component(String, Class<?>, ConfigInstance...) - Method in class com.yahoo.application.Application.Builder.Container
- components() - Method in class com.yahoo.application.container.JDisc
-
Returns a registry of all components available in this
- config(ConfigInstance) - Method in class com.yahoo.application.Application.Builder.Container
- CONFIG_DEF_MD5 - Static variable in class com.yahoo.application.MockApplicationConfig
- CONFIG_DEF_NAME - Static variable in class com.yahoo.application.MockApplicationConfig
- CONFIG_DEF_NAMESPACE - Static variable in class com.yahoo.application.MockApplicationConfig
- CONFIG_DEF_SCHEMA - Static variable in class com.yahoo.application.MockApplicationConfig
- CONFIG_DEF_VERSION - Static variable in class com.yahoo.application.MockApplicationConfig
- CONNECT - com.yahoo.application.container.handler.Request.Method
- container(String, Application.Builder.Container) - Method in class com.yahoo.application.Application.Builder
- Container() - Constructor for class com.yahoo.application.Application.Builder.Container
- contains(String, String) - Method in class com.yahoo.application.container.handler.Headers
-
Convenience method for checking whether or not a named header contains a specific value.
- containsIgnoreCase(String, String) - Method in class com.yahoo.application.container.handler.Headers
-
Convenience method for checking whether or not a named header contains a specific value, regardless of case.
- containsKey(Object) - Method in class com.yahoo.application.container.handler.Headers
- containsValue(Object) - Method in class com.yahoo.application.container.handler.Headers
D
- DELETE - com.yahoo.application.container.handler.Request.Method
- disable - com.yahoo.application.Networking
- dispatchGetConfig(ConfigInstance.Producer) - Method in class com.yahoo.application.MockApplicationConfig.Builder
- documentProcessing() - Method in class com.yahoo.application.container.JDisc
-
Returns a
DocumentProcessing
, used to process objects of typeDocument
,DocumentRemove
andDocumentUpdate
. - DocumentProcessing - Class in com.yahoo.application.container
-
For doing document processing with
JDisc
. - documentProcessor(Class<? extends DocumentProcessor>) - Method in class com.yahoo.application.Application.Builder.Container
- documentProcessor(String, Class<? extends DocumentProcessor>, ConfigInstance...) - Method in class com.yahoo.application.Application.Builder.Container
- documentProcessor(String, String, Class<? extends DocumentProcessor>, ConfigInstance...) - Method in class com.yahoo.application.Application.Builder.Container
- documentType(String, String) - Method in class com.yahoo.application.Application.Builder
- documentType(String, String) - Method in class com.yahoo.application.ApplicationBuilder
- doGetRenderer(ComponentSpecification) - Method in class com.yahoo.application.container.Processing
- doGetRenderer(ComponentSpecification) - Method in class com.yahoo.application.container.ProcessingBase
- doGetRenderer(ComponentSpecification) - Method in class com.yahoo.application.container.Search
- doProcess(Chain<Processor>, Request) - Method in class com.yahoo.application.container.Processing
- doProcess(Chain<Searcher>, Query) - Method in class com.yahoo.application.container.Search
- doProcess(Chain<PROCESSOR>, REQUEST) - Method in class com.yahoo.application.container.ProcessingBase
- doProcessAndRender(ComponentSpecification, Request, Renderer<Response>, ByteArrayOutputStream) - Method in class com.yahoo.application.container.Processing
- doProcessAndRender(ComponentSpecification, Query, Renderer<Result>, ByteArrayOutputStream) - Method in class com.yahoo.application.container.Search
- doProcessAndRender(ComponentSpecification, REQUEST, Renderer<RESPONSE>, ByteArrayOutputStream) - Method in class com.yahoo.application.container.ProcessingBase
E
- enable - com.yahoo.application.Networking
- entries() - Method in class com.yahoo.application.container.handler.Headers
-
Returns an unmodifiable list of all key-value pairs of this.
- entrySet() - Method in class com.yahoo.application.container.handler.Headers
- equals(Object) - Method in class com.yahoo.application.container.handler.Headers
- expressionInclude(String, String) - Method in class com.yahoo.application.Application.Builder
F
- fromApplicationPackage(File, Networking) - Static method in class com.yahoo.application.Application
-
Factory method to create an Application from an application package.
- fromApplicationPackage(Path, Networking) - Static method in class com.yahoo.application.Application
-
Factory method to create an Application from an application package.
- fromBuilder(Application.Builder) - Static method in class com.yahoo.application.Application
- fromPath(Path, Networking) - Static method in class com.yahoo.application.container.JDisc
-
Factory method to create a JDisc from an application package.
- fromPath(Path, Networking, ConfigModelRepo) - Static method in class com.yahoo.application.container.JDisc
-
Create a jDisc instance which is given a config model repo (in which (mock) content clusters can be looked up).
- fromServicesXml(String, Networking) - Static method in class com.yahoo.application.Application
-
Factory method to create an Application from an XML String.
- fromServicesXml(String, Networking) - Static method in class com.yahoo.application.container.JDisc
-
Factory method to create a JDisc from an XML String.
G
- get(Object) - Method in class com.yahoo.application.container.handler.Headers
- GET - com.yahoo.application.container.handler.Request.Method
- getAnnotationTypes() - Method in class com.yahoo.application.container.DocumentProcessing
- getAttributes() - Method in class com.yahoo.application.container.handler.Request
- getBody() - Method in class com.yahoo.application.container.handler.Request
-
Returns the body of this Request.
- getBody() - Method in class com.yahoo.application.container.handler.Response
-
Returns the body of this Response.
- getBodyAsString() - Method in class com.yahoo.application.container.handler.Response
-
Attempts to decode the buffer returned by
Response.getBody()
as a String in a best-effort manner. - getChain(ComponentSpecification) - Method in class com.yahoo.application.container.ProcessingBase
- getChains() - Method in class com.yahoo.application.container.DocumentProcessing
-
Returns a registry of configured docproc chains.
- getChains() - Method in class com.yahoo.application.container.Processing
- getChains() - Method in class com.yahoo.application.container.ProcessingBase
-
Returns a registry of configured chains
- getChains() - Method in class com.yahoo.application.container.Search
- getConfig(MockApplicationConfig.Builder) - Method in interface com.yahoo.application.MockApplicationConfig.Producer
- getDefMd5() - Method in class com.yahoo.application.MockApplicationConfig.Builder
- getDefMd5() - Static method in class com.yahoo.application.MockApplicationConfig
- getDefName() - Method in class com.yahoo.application.MockApplicationConfig.Builder
- getDefName() - Static method in class com.yahoo.application.MockApplicationConfig
- getDefNamespace() - Method in class com.yahoo.application.MockApplicationConfig.Builder
- getDefNamespace() - Static method in class com.yahoo.application.MockApplicationConfig
- getDefVersion() - Static method in class com.yahoo.application.MockApplicationConfig
- getDocumentTypes() - Method in class com.yahoo.application.container.DocumentProcessing
- getFirst(String) - Method in class com.yahoo.application.container.handler.Headers
-
Convenience method for retrieving the first value of a named header field.
- getHeaders() - Method in class com.yahoo.application.container.handler.Request
-
Returns a mutable multi-map of headers for this Request.
- getHeaders() - Method in class com.yahoo.application.container.handler.Response
-
Returns a mutable multi-map of headers for this Response.
- getJDisc(String) - Method in class com.yahoo.application.Application
- getMethod() - Method in class com.yahoo.application.container.handler.Request
- getRenderer(ComponentSpecification) - Method in class com.yahoo.application.container.ProcessingBase
- getStatus() - Method in class com.yahoo.application.container.handler.Response
-
Returns the status code of this response.
- getUri() - Method in class com.yahoo.application.container.handler.Request
-
Returns the URI of this Request.
- getUserPrincipal() - Method in class com.yahoo.application.container.handler.Request
H
- handler(String, Class<? extends RequestHandler>) - Method in class com.yahoo.application.Application.Builder.Container
- handleRequest(Request) - Method in class com.yahoo.application.container.JDisc
-
Handles the given
Request
by passing it to theRequestHandler
that is bound to the request's URI. - hashCode() - Method in class com.yahoo.application.container.handler.Headers
- HEAD - com.yahoo.application.container.handler.Request.Method
- Headers - Class in com.yahoo.application.container.handler
-
A multi-map for Request and Response header fields.
- Headers() - Constructor for class com.yahoo.application.container.handler.Headers
I
- id() - Method in class com.yahoo.application.MockApplicationConfig.Mymapstruct
- id() - Method in class com.yahoo.application.MockApplicationConfig.Mystruct
- id() - Method in class com.yahoo.application.MockApplicationConfig.Mystructlist
- id(String) - Method in class com.yahoo.application.MockApplicationConfig.Mymapstruct.Builder
- id(String) - Method in class com.yahoo.application.MockApplicationConfig.Mystruct.Builder
- id(String) - Method in class com.yahoo.application.MockApplicationConfig.Mystructlist.Builder
- isEmpty() - Method in class com.yahoo.application.container.handler.Headers
- isTrue(String) - Method in class com.yahoo.application.container.handler.Headers
-
Convenience method for checking whether or not a named header field is true.
J
- JDisc - Class in com.yahoo.application.container
-
A JDisc Container configured from XML.
K
M
- MockApplicationConfig - Class in com.yahoo.application
-
This class represents the root node of mock-application Copyright 2017 Yahoo Holdings.
- MockApplicationConfig(MockApplicationConfig.Builder) - Constructor for class com.yahoo.application.MockApplicationConfig
- MockApplicationConfig.Builder - Class in com.yahoo.application
- MockApplicationConfig.Mymapstruct - Class in com.yahoo.application
-
This class represents mock-application.mymapstruct{}
- MockApplicationConfig.Mymapstruct.Builder - Class in com.yahoo.application
- MockApplicationConfig.Mystruct - Class in com.yahoo.application
-
This class represents mock-application.mystruct
- MockApplicationConfig.Mystruct.Builder - Class in com.yahoo.application
- MockApplicationConfig.Mystructlist - Class in com.yahoo.application
-
This class represents mock-application.mystructlist[]
- MockApplicationConfig.Mystructlist.Builder - Class in com.yahoo.application
- MockApplicationConfig.Producer - Interface in com.yahoo.application
- mylist - Variable in class com.yahoo.application.MockApplicationConfig.Builder
- mylist() - Method in class com.yahoo.application.MockApplicationConfig
- mylist(int) - Method in class com.yahoo.application.MockApplicationConfig
- mylist(String) - Method in class com.yahoo.application.MockApplicationConfig.Builder
- mylist(Collection<String>) - Method in class com.yahoo.application.MockApplicationConfig.Builder
- mymap - Variable in class com.yahoo.application.MockApplicationConfig.Builder
- mymap() - Method in class com.yahoo.application.MockApplicationConfig
- mymap(String) - Method in class com.yahoo.application.MockApplicationConfig
- mymap(String, String) - Method in class com.yahoo.application.MockApplicationConfig.Builder
- mymap(Map<String, String>) - Method in class com.yahoo.application.MockApplicationConfig.Builder
- mymapstruct - Variable in class com.yahoo.application.MockApplicationConfig.Builder
- mymapstruct() - Method in class com.yahoo.application.MockApplicationConfig
- mymapstruct(String) - Method in class com.yahoo.application.MockApplicationConfig
- mymapstruct(String, MockApplicationConfig.Mymapstruct.Builder) - Method in class com.yahoo.application.MockApplicationConfig.Builder
- mymapstruct(Map<String, MockApplicationConfig.Mymapstruct.Builder>) - Method in class com.yahoo.application.MockApplicationConfig.Builder
- Mymapstruct(MockApplicationConfig.Mymapstruct.Builder) - Constructor for class com.yahoo.application.MockApplicationConfig.Mymapstruct
- mystruct - Variable in class com.yahoo.application.MockApplicationConfig.Builder
- mystruct() - Method in class com.yahoo.application.MockApplicationConfig
- mystruct(MockApplicationConfig.Mystruct.Builder) - Method in class com.yahoo.application.MockApplicationConfig.Builder
- Mystruct(MockApplicationConfig.Mystruct.Builder) - Constructor for class com.yahoo.application.MockApplicationConfig.Mystruct
- mystructlist - Variable in class com.yahoo.application.MockApplicationConfig.Builder
- mystructlist() - Method in class com.yahoo.application.MockApplicationConfig
- mystructlist(int) - Method in class com.yahoo.application.MockApplicationConfig
- mystructlist(MockApplicationConfig.Mystructlist.Builder) - Method in class com.yahoo.application.MockApplicationConfig.Builder
-
Add the given builder to this builder's list of Mystructlist builders
- mystructlist(List<MockApplicationConfig.Mystructlist.Builder>) - Method in class com.yahoo.application.MockApplicationConfig.Builder
-
Set the given list as this builder's list of Mystructlist builders
- Mystructlist(MockApplicationConfig.Mystructlist.Builder) - Constructor for class com.yahoo.application.MockApplicationConfig.Mystructlist
N
- networking(Networking) - Method in class com.yahoo.application.Application.Builder
- networking(Networking) - Method in class com.yahoo.application.ApplicationBuilder
-
Disabled per default
- Networking - Enum in com.yahoo.application
O
- OPTIONS - com.yahoo.application.container.handler.Request.Method
P
- PATCH - com.yahoo.application.container.handler.Request.Method
- POST - com.yahoo.application.container.handler.Request.Method
- process(ComponentSpecification, Processing) - Method in class com.yahoo.application.container.DocumentProcessing
-
Processes the given Processing through the specified chain.
- process(ComponentSpecification, REQUEST) - Method in class com.yahoo.application.container.ProcessingBase
-
Processes the given request with the given chain, and returns the response.
- processAndRender(ComponentSpecification, ComponentSpecification, REQUEST) - Method in class com.yahoo.application.container.ProcessingBase
- processing() - Method in class com.yahoo.application.container.JDisc
-
Returns a
Processing
, used to do generic asynchronous operations in a request/response API. - Processing - Class in com.yahoo.application.container
- ProcessingBase<REQUEST extends com.yahoo.processing.Request,RESPONSE extends com.yahoo.processing.Response,PROCESSOR extends com.yahoo.processing.Processor> - Class in com.yahoo.application.container
- ProcessingBase() - Constructor for class com.yahoo.application.container.ProcessingBase
- processOnce(ComponentSpecification, Processing) - Method in class com.yahoo.application.container.DocumentProcessing
-
Processes the given Processing through the specified chain.
- put(String, String) - Method in class com.yahoo.application.container.handler.Headers
-
Convenience method to call
Headers.put(String, List)
with a singleton list that contains the specified value. - put(String, List<String>) - Method in class com.yahoo.application.container.handler.Headers
- PUT - com.yahoo.application.container.handler.Request.Method
- putAll(Map<? extends String, ? extends List<String>>) - Method in class com.yahoo.application.container.handler.Headers
Q
- queryProfile(String, String) - Method in class com.yahoo.application.Application.Builder
- queryProfile(String, String) - Method in class com.yahoo.application.ApplicationBuilder
- queryProfileType(String, String) - Method in class com.yahoo.application.Application.Builder
- queryProfileType(String, String) - Method in class com.yahoo.application.ApplicationBuilder
R
- rankExpression(String, String) - Method in class com.yahoo.application.Application.Builder
- rankExpression(String, String) - Method in class com.yahoo.application.ApplicationBuilder
- remove(Object) - Method in class com.yahoo.application.container.handler.Headers
- remove(String, String) - Method in class com.yahoo.application.container.handler.Headers
-
Removes the given value from the entry of the specified key.
- renderer(String, Class<? extends Renderer>, ConfigInstance...) - Method in class com.yahoo.application.Application.Builder.Container
- Request - Class in com.yahoo.application.container.handler
-
A request for use with
JDisc.handleRequest(Request)
. - Request(String) - Constructor for class com.yahoo.application.container.handler.Request
-
Creates a Request with an empty body.
- Request(String, byte[]) - Constructor for class com.yahoo.application.container.handler.Request
-
Creates a GET Request with a message body.
- Request(String, byte[], Request.Method) - Constructor for class com.yahoo.application.container.handler.Request
-
Creates a Request with a message body.
- Request(String, byte[], Request.Method, Principal) - Constructor for class com.yahoo.application.container.handler.Request
-
Creates a Request with a message body, method and user principal.
- Request(String, String) - Constructor for class com.yahoo.application.container.handler.Request
-
Creates a GET Request with a message body.
- Request(String, String, Request.Method) - Constructor for class com.yahoo.application.container.handler.Request
-
Creates a Request with a message body.
- Request.Method - Enum in com.yahoo.application.container.handler
- Response - Class in com.yahoo.application.container.handler
-
A response for use with
JDisc.handleRequest(Request)
. - Response() - Constructor for class com.yahoo.application.container.handler.Response
-
Creates a Response with an empty body, and 200 (OK) response code.
- Response(byte[]) - Constructor for class com.yahoo.application.container.handler.Response
-
Creates a Response with a message body, and 200 (OK) response code.
- Response(int, byte[]) - Constructor for class com.yahoo.application.container.handler.Response
-
Creates a Response with a message body, and the given response code.
S
- search() - Method in class com.yahoo.application.container.JDisc
-
Returns a
Search
, used to perform search query operations on this container. - search(boolean) - Method in class com.yahoo.application.Application.Builder.Container
- Search - Class in com.yahoo.application.container
- searcher(Class<? extends Searcher>) - Method in class com.yahoo.application.Application.Builder.Container
- searcher(String, Class<? extends Searcher>, ConfigInstance...) - Method in class com.yahoo.application.Application.Builder.Container
- searcher(String, String, Class<? extends Searcher>, ConfigInstance...) - Method in class com.yahoo.application.Application.Builder.Container
- server(String, Class<? extends ServerProvider>) - Method in class com.yahoo.application.Application.Builder.Container
- servicesXml(String) - Method in class com.yahoo.application.ApplicationBuilder
- size() - Method in class com.yahoo.application.container.handler.Headers
T
- toString() - Method in class com.yahoo.application.container.handler.Headers
- toString() - Method in class com.yahoo.application.container.handler.Request
- toString() - Method in class com.yahoo.application.container.handler.Response
- TRACE - com.yahoo.application.container.handler.Request.Method
V
- value() - Method in class com.yahoo.application.MockApplicationConfig.Mymapstruct
- value() - Method in class com.yahoo.application.MockApplicationConfig.Mystruct
- value() - Method in class com.yahoo.application.MockApplicationConfig.Mystructlist
- value(String) - Method in class com.yahoo.application.MockApplicationConfig.Mymapstruct.Builder
- value(String) - Method in class com.yahoo.application.MockApplicationConfig.Mystruct.Builder
- value(String) - Method in class com.yahoo.application.MockApplicationConfig.Mystructlist.Builder
- valueOf(String) - Static method in enum com.yahoo.application.container.handler.Request.Method
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.yahoo.application.Networking
-
Returns the enum constant of this type with the specified name.
- values() - Method in class com.yahoo.application.container.handler.Headers
- values() - Static method in enum com.yahoo.application.container.handler.Request.Method
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.yahoo.application.Networking
-
Returns an array containing the constants of this enum type, in the order they are declared.
- vespaLocalProperty - Static variable in class com.yahoo.application.Application
-
This system property is set to "true" upon creation of an Application.
All Classes All Packages