Skip navigation links
A B C D E F G H I J L M N O P R S T U V W Y 

A

AbstractBuilder<T extends ReflectableStub> - Class in io.github.azagniotov.stubby4j.stubs
 
ADMIN_ROOT - Static variable in class io.github.azagniotov.stubby4j.handlers.AdminPortalHandler
 
AdminPortalHandler - Class in io.github.azagniotov.stubby4j.handlers
 
AdminPortalHandler(StubRepository) - Constructor for class io.github.azagniotov.stubby4j.handlers.AdminPortalHandler
 
AdminResponseHandlingStrategy - Interface in io.github.azagniotov.stubby4j.handlers.strategy.admin
 
AdminResponseHandlingStrategyFactory - Class in io.github.azagniotov.stubby4j.handlers.strategy.admin
 
AjaxEndpointStatsHandler - Class in io.github.azagniotov.stubby4j.handlers
 
AjaxEndpointStatsHandler(StubRepository) - Constructor for class io.github.azagniotov.stubby4j.handlers.AjaxEndpointStatsHandler
 
AjaxResourceContentHandler - Class in io.github.azagniotov.stubby4j.handlers
 
AjaxResourceContentHandler(StubRepository) - Constructor for class io.github.azagniotov.stubby4j.handlers.AjaxResourceContentHandler
 
allowAllSSL() - Method in class io.github.azagniotov.stubby4j.server.FakeX509TrustManager
 
ANSITerminal - Class in io.github.azagniotov.stubby4j.cli
Prints to console any given message using ANSI colours.
asFullValue() - Method in class io.github.azagniotov.stubby4j.client.Authorization
 
asString() - Method in enum io.github.azagniotov.stubby4j.stubs.StubbableAuthorizationType
 
asYAMLProp() - Method in enum io.github.azagniotov.stubby4j.stubs.StubbableAuthorizationType
 
Authorization - Class in io.github.azagniotov.stubby4j.client
 
Authorization(Authorization.AuthorizationType, String) - Constructor for class io.github.azagniotov.stubby4j.client.Authorization
 

B

BR - Static variable in class io.github.azagniotov.stubby4j.utils.FileUtils
 
build() - Method in class io.github.azagniotov.stubby4j.stubs.AbstractBuilder
 
build() - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle.Builder
 
build() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
build() - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse.Builder
 
build() - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
Builder() - Constructor for class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle.Builder
 
Builder() - Constructor for class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
Builder() - Constructor for class io.github.azagniotov.stubby4j.stubs.StubResponse.Builder
 
buildToken(String, int) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 

C

calculateStringLength(String) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
calculateStubbyUpTime(long) - Static method in class io.github.azagniotov.stubby4j.utils.HandlerUtils
 
canMatchStubByIndex(int) - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
charsetUTF8() - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
checkClientTrusted(X509Certificate[], String) - Method in class io.github.azagniotov.stubby4j.server.FakeX509TrustManager
 
checkServerTrusted(X509Certificate[], String) - Method in class io.github.azagniotov.stubby4j.server.FakeX509TrustManager
 
CoberturaIgnore - Annotation Type in io.github.azagniotov.stubby4j.annotations
 
CollectionUtils - Class in io.github.azagniotov.stubby4j.utils
 
CommandLineInterpreter - Class in io.github.azagniotov.stubby4j.cli
 
CommandLineInterpreter() - Constructor for class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
Common - Class in io.github.azagniotov.stubby4j.common
 
compileRegexPatternsAndCache() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
ConfigurableYAMLProperty - Enum in io.github.azagniotov.stubby4j.yaml
 
configureErrorResponse(HttpServletResponse, int, String) - Static method in class io.github.azagniotov.stubby4j.utils.HandlerUtils
 
ConsoleUtils - Class in io.github.azagniotov.stubby4j.utils
 
construct(File, Map<String, String>, Future<List<StubHttpLifecycle>>) - Method in class io.github.azagniotov.stubby4j.server.StubbyManagerFactory
 
constructHeaderServerName() - Static method in class io.github.azagniotov.stubby4j.utils.HandlerUtils
 
constructInputStream(File) - Static method in class io.github.azagniotov.stubby4j.utils.FileUtils
 
constructInputStream(String) - Static method in class io.github.azagniotov.stubby4j.utils.FileUtils
 
constructParamMap(String) - Static method in class io.github.azagniotov.stubby4j.utils.CollectionUtils
 
constructQueryString(Map<String, String>) - Static method in class io.github.azagniotov.stubby4j.utils.CollectionUtils
 
constructUserAgentName() - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 

D

debug(String, Object...) - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
debug(String, long) - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
debug(Throwable) - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
debug(String, Throwable) - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
DEFAULT_ADMIN_PORT - Static variable in class io.github.azagniotov.stubby4j.server.JettyFactory
 
DEFAULT_HOST - Static variable in class io.github.azagniotov.stubby4j.server.JettyFactory
 
DEFAULT_SSL_PORT - Static variable in class io.github.azagniotov.stubby4j.server.JettyFactory
 
DEFAULT_STUBS_PORT - Static variable in class io.github.azagniotov.stubby4j.server.JettyFactory
 
DefaultResponseHandlingStrategy - Class in io.github.azagniotov.stubby4j.handlers.strategy.stubs
 
deleteAllStubs() - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
DeleteHandlingStrategy - Class in io.github.azagniotov.stubby4j.handlers.strategy.admin
 
DeleteHandlingStrategy() - Constructor for class io.github.azagniotov.stubby4j.handlers.strategy.admin.DeleteHandlingStrategy
 
deleteStubByIndex(int) - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
doDelete(String, String, int, Authorization) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes DELETE HTTP request to stubby Also can set basic authorisation HTTP header using encoded credentials (if provided).
doDeleteOverSsl(String, String, int, Authorization) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes DELETE HTTP request to stubby over TLS on stubby4j default TLS port: 7443
doGet(String, String, int) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes GET HTTP request to stubby
doGet(String, String, int, Authorization) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes GET HTTP request to stubby Also sets basic authorisation HTTP header using provided encoded credentials.
doGetOverSsl(String, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes GET HTTP request to stubby over TLS on stubby4j default TLS port: 7443
doGetOverSsl(String, String, int) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes GET HTTP request to stubby over TLS on stubby4j
doGetOverSsl(String, String, int, Authorization) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes GET HTTP request to stubby over TLS on stubby4j default TLS port: 7443 Also sets basic authorisation HTTP header using provided encoded credentials.
doGetUsingDefaults(String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes GET HTTP request to stubby running on default host and port - localhost:8882
doGetUsingDefaults(String, Authorization) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes GET HTTP request to stubby running on default host and port - localhost:8882.
doPost(String, String, int, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes POST HTTP request to stubby
doPost(String, String, int, Authorization, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes POST HTTP request to stubby Also sets basic authorisation HTTP header using provided encoded credentials.
doPostUsingDefaults(String, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes POST HTTP request to stubby running on default host and port - localhost:8882
doPostUsingDefaults(String, String, Authorization) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes POST HTTP request to stubby running on default host and port - localhost:8882.
doPut(String, String, int, Authorization, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes PUT HTTP request to stubby Also can set basic authorisation HTTP header using encoded credentials (if provided).
doPutOverSsl(String, String, int, Authorization, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes PUT HTTP request to stubby over TLS on stubby4j default TLS port: 7443
dump(String) - Static method in class io.github.azagniotov.stubby4j.cli.ANSITerminal
Prints message to the console

E

EmptyLogger - Class in io.github.azagniotov.stubby4j.cli
Class used to suppress default console output of Jetty
EmptyLogger() - Constructor for class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
emptyWithBody(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse.Builder
 
enableDebug(boolean) - Static method in class io.github.azagniotov.stubby4j.utils.ConsoleUtils
Enables verbose console output
encodeBase64(String) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
enforceSystemLineSeparator(String) - Static method in class io.github.azagniotov.stubby4j.utils.FileUtils
 
equals(Object) - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
 
equals(Object) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
error(String) - Static method in class io.github.azagniotov.stubby4j.cli.ANSITerminal
Prints message to the console in red colour
escapeHtmlEntities(String) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
escapeSpecialRegexCharacters(String) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
ExternalFilesScanner - Class in io.github.azagniotov.stubby4j.filesystem
 
ExternalFilesScanner(StubRepository, long) - Constructor for class io.github.azagniotov.stubby4j.filesystem.ExternalFilesScanner
 
extractPostRequestBody(HttpServletRequest, String) - Static method in class io.github.azagniotov.stubby4j.utils.HandlerUtils
 

F

FakeX509TrustManager - Class in io.github.azagniotov.stubby4j.server
 
FakeX509TrustManager() - Constructor for class io.github.azagniotov.stubby4j.server.FakeX509TrustManager
 
FaviconHandler - Class in io.github.azagniotov.stubby4j.handlers
 
FaviconHandler() - Constructor for class io.github.azagniotov.stubby4j.handlers.FaviconHandler
 
fetchRecordableHTTPResponse(StubRequest, String) - Method in class io.github.azagniotov.stubby4j.http.StubbyHttpTransport
 
fileFromString(String) - Static method in class io.github.azagniotov.stubby4j.utils.FileUtils
 
fileToBytes(File) - Static method in class io.github.azagniotov.stubby4j.utils.FileUtils
 
FileUtils - Class in io.github.azagniotov.stubby4j.utils
 

G

getAcceptedIssuers() - Method in class io.github.azagniotov.stubby4j.server.FakeX509TrustManager
 
getAdminPort() - Method in class io.github.azagniotov.stubby4j.server.JettyContext
 
getAjaxResponseContent(StubTypes, String) - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
 
getAjaxResponseContent(String, int) - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
 
getBody() - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
getBytesUtf8(String) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
getCommandlineParams() - Method in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
Identifies what command line arguments that have been passed by user are matching available options
getCompleteYAML() - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
Do not remove this method if your IDE complains that it is unused.
getContent() - Method in class io.github.azagniotov.stubby4j.client.StubbyResponse
 
getDescription() - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
 
getExternalFiles() - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
getFile() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
getFile() - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse
Used by reflection when populating stubby admin page with stubbed information
GetHandlingStrategy - Class in io.github.azagniotov.stubby4j.handlers.strategy.admin
 
GetHandlingStrategy() - Constructor for class io.github.azagniotov.stubby4j.handlers.strategy.admin.GetHandlingStrategy
 
getHeaders() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
getHeaders() - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
getHost() - Method in class io.github.azagniotov.stubby4j.server.JettyContext
 
getHtmlResourceByName(String) - Static method in class io.github.azagniotov.stubby4j.utils.HandlerUtils
 
getHttpStatusCode() - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
getInvariant() - Method in class io.github.azagniotov.stubby4j.stubs.StubSearchResult
 
getLatency() - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
getLogger(String) - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
getMatch() - Method in class io.github.azagniotov.stubby4j.stubs.StubSearchResult
 
getMethod() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
getName() - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
getNextSequencedResponseId() - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
 
getOnlyStubRequestUrl() - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
getPost() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
getPostBody() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
getProperties(T) - Static method in class io.github.azagniotov.stubby4j.utils.ReflectionUtils
 
getPropertyValue(Object, String) - Static method in class io.github.azagniotov.stubby4j.utils.ReflectionUtils
 
getQuery() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
getRawFile() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
getRawFile() - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
getRawFileAbsolutePath() - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
getRawHeaderAuthorization() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
getRegexGroups() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
getRequest() - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
 
getRequestAsYAML() - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
Do not remove this method if your IDE complains that it is unused.
getResourceId() - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
 
getResourceStats() - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
getResourceStatsAsCsv() - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
getResponse(String, String, String, Map<String, String>, int) - Method in class io.github.azagniotov.stubby4j.http.StubbyHttpTransport
 
getResponse(boolean) - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
 
getResponseAsYAML() - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
Do not remove this method if your IDE complains that it is unused.
getResponseBodyAsBytes() - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
getResponseCode() - Method in class io.github.azagniotov.stubby4j.client.StubbyResponse
 
getResponses() - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
 
getSnakeYaml() - Method in enum io.github.azagniotov.stubby4j.yaml.SnakeYaml
 
getStrategy(HttpServletRequest) - Static method in class io.github.azagniotov.stubby4j.handlers.strategy.admin.AdminResponseHandlingStrategyFactory
 
getStrategy(StubResponse) - Static method in class io.github.azagniotov.stubby4j.handlers.strategy.stubs.StubsResponseHandlingStrategyFactory
 
getStubs() - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
getStubsPort() - Method in class io.github.azagniotov.stubby4j.server.JettyContext
 
getStubsTlsPort() - Method in class io.github.azagniotov.stubby4j.server.JettyContext
 
getStubYAML() - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
getStubYAMLByIndex(int) - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
getTime() - Static method in class io.github.azagniotov.stubby4j.utils.ConsoleUtils
 
getUri() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
getUrl() - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
 
getUrl() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
Returns url and query string parameters (if present), separated by a question mark.
getYAMLConfig() - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
getYAMLConfigCanonicalPath() - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 

H

handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class io.github.azagniotov.stubby4j.handlers.AdminPortalHandler
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class io.github.azagniotov.stubby4j.handlers.AjaxEndpointStatsHandler
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class io.github.azagniotov.stubby4j.handlers.AjaxResourceContentHandler
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class io.github.azagniotov.stubby4j.handlers.FaviconHandler
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class io.github.azagniotov.stubby4j.handlers.JsonErrorHandler
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class io.github.azagniotov.stubby4j.handlers.StatusPageHandler
 
handle(HttpServletRequest, HttpServletResponse, StubRepository) - Method in interface io.github.azagniotov.stubby4j.handlers.strategy.admin.AdminResponseHandlingStrategy
 
handle(HttpServletRequest, HttpServletResponse, StubRepository) - Method in class io.github.azagniotov.stubby4j.handlers.strategy.admin.DeleteHandlingStrategy
 
handle(HttpServletRequest, HttpServletResponse, StubRepository) - Method in class io.github.azagniotov.stubby4j.handlers.strategy.admin.GetHandlingStrategy
 
handle(HttpServletRequest, HttpServletResponse, StubRepository) - Method in class io.github.azagniotov.stubby4j.handlers.strategy.admin.NullHandlingStrategy
 
handle(HttpServletRequest, HttpServletResponse, StubRepository) - Method in class io.github.azagniotov.stubby4j.handlers.strategy.admin.PostHandlingStrategy
 
handle(HttpServletRequest, HttpServletResponse, StubRepository) - Method in class io.github.azagniotov.stubby4j.handlers.strategy.admin.PutHandlingStrategy
 
handle(HttpServletResponse, StubRequest) - Method in class io.github.azagniotov.stubby4j.handlers.strategy.stubs.DefaultResponseHandlingStrategy
 
handle(HttpServletResponse, StubRequest) - Method in class io.github.azagniotov.stubby4j.handlers.strategy.stubs.NotFoundResponseHandlingStrategy
 
handle(HttpServletResponse, StubRequest) - Method in class io.github.azagniotov.stubby4j.handlers.strategy.stubs.RedirectResponseHandlingStrategy
 
handle(HttpServletResponse, StubRequest) - Method in interface io.github.azagniotov.stubby4j.handlers.strategy.stubs.StubResponseHandlingStrategy
 
handle(HttpServletResponse, StubRequest) - Method in class io.github.azagniotov.stubby4j.handlers.strategy.stubs.UnauthorizedResponseHandlingStrategy
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class io.github.azagniotov.stubby4j.handlers.StubDataRefreshActionHandler
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class io.github.azagniotov.stubby4j.handlers.StubsPortalHandler
 
HandlerUtils - Class in io.github.azagniotov.stubby4j.utils
 
hashCode() - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle
 
hashCode() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
hasHeaderLocation() - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
hasHeaders() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
hasPostBody() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
hasQuery() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
HEADER_APPLICATION_JSON - Static variable in class io.github.azagniotov.stubby4j.common.Common
 
HEADER_APPLICATION_XML - Static variable in class io.github.azagniotov.stubby4j.common.Common
 
HttpRequestUtils - Class in io.github.azagniotov.stubby4j.utils
 
HttpVerbsEnum - Enum in io.github.azagniotov.stubby4j.handlers.strategy.admin
 

I

ignore(Throwable) - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
incoming(String) - Static method in class io.github.azagniotov.stubby4j.cli.ANSITerminal
Prints message to the console in cyan colour
info(String) - Static method in class io.github.azagniotov.stubby4j.cli.ANSITerminal
Prints message to the console in blue colour
info(String, Object...) - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
info(Throwable) - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
info(String, Throwable) - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
injectObjectFields(T, String, Object) - Static method in class io.github.azagniotov.stubby4j.utils.ReflectionUtils
 
injectObjectFields(T, Map<String, Object>) - Static method in class io.github.azagniotov.stubby4j.utils.ReflectionUtils
 
inputStreamToString(InputStream) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
io.github.azagniotov.stubby4j - package io.github.azagniotov.stubby4j
 
io.github.azagniotov.stubby4j.annotations - package io.github.azagniotov.stubby4j.annotations
 
io.github.azagniotov.stubby4j.cli - package io.github.azagniotov.stubby4j.cli
 
io.github.azagniotov.stubby4j.client - package io.github.azagniotov.stubby4j.client
 
io.github.azagniotov.stubby4j.common - package io.github.azagniotov.stubby4j.common
 
io.github.azagniotov.stubby4j.filesystem - package io.github.azagniotov.stubby4j.filesystem
 
io.github.azagniotov.stubby4j.handlers - package io.github.azagniotov.stubby4j.handlers
 
io.github.azagniotov.stubby4j.handlers.strategy.admin - package io.github.azagniotov.stubby4j.handlers.strategy.admin
 
io.github.azagniotov.stubby4j.handlers.strategy.stubs - package io.github.azagniotov.stubby4j.handlers.strategy.stubs
 
io.github.azagniotov.stubby4j.http - package io.github.azagniotov.stubby4j.http
 
io.github.azagniotov.stubby4j.server - package io.github.azagniotov.stubby4j.server
 
io.github.azagniotov.stubby4j.stubs - package io.github.azagniotov.stubby4j.stubs
 
io.github.azagniotov.stubby4j.utils - package io.github.azagniotov.stubby4j.utils
 
io.github.azagniotov.stubby4j.yaml - package io.github.azagniotov.stubby4j.yaml
 
isA(String) - Method in enum io.github.azagniotov.stubby4j.yaml.ConfigurableYAMLProperty
 
isBodyContainsTemplateTokens() - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
isClientTrusted(X509Certificate[]) - Method in class io.github.azagniotov.stubby4j.server.FakeX509TrustManager
 
isDebug() - Method in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
Checks if debug option was provided
isDebugEnabled() - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
isFilePathContainsTemplateTokens() - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
isFilePathContainTemplateTokens(File) - Static method in class io.github.azagniotov.stubby4j.utils.FileUtils
 
isHelp() - Method in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
Checks if help option was provided
isMute() - Static method in class io.github.azagniotov.stubby4j.cli.ANSITerminal
Checks whether console output has been disabled by user using command line argument
isMute() - Method in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
Checks if console output has been muted
isNotNull(Object) - Static method in class io.github.azagniotov.stubby4j.utils.ObjectUtils
 
isNotSet(String) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
isNull(Object) - Static method in class io.github.azagniotov.stubby4j.utils.ObjectUtils
 
isRecordingRequired() - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
isServerTrusted(X509Certificate[]) - Method in class io.github.azagniotov.stubby4j.server.FakeX509TrustManager
 
isSet(String) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
isTemplateFile(File) - Static method in class io.github.azagniotov.stubby4j.utils.FileUtils
 
isTokenized(String) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
isUnknownProperty(String) - Static method in enum io.github.azagniotov.stubby4j.yaml.ConfigurableYAMLProperty
 
isVersion() - Method in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
Checks if version option was provided
isYamlProvided() - Method in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
Checks if data YAML was provided

J

JarUtils - Class in io.github.azagniotov.stubby4j.utils
 
JettyContext - Class in io.github.azagniotov.stubby4j.server
 
JettyContext(String, int, int, int) - Constructor for class io.github.azagniotov.stubby4j.server.JettyContext
 
JettyFactory - Class in io.github.azagniotov.stubby4j.server
 
joinJetty() - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Blocks until Jetty has finished
joinJetty() - Method in class io.github.azagniotov.stubby4j.server.StubbyManager
 
JsonErrorHandler - Class in io.github.azagniotov.stubby4j.handlers
 
JsonErrorHandler() - Constructor for class io.github.azagniotov.stubby4j.handlers.JsonErrorHandler
 

L

linkifyRequestUrl(String, Object, String, int) - Static method in class io.github.azagniotov.stubby4j.utils.HandlerUtils
 
loaded(String) - Static method in class io.github.azagniotov.stubby4j.cli.ANSITerminal
Prints message to the console in magenta colour
log(String) - Static method in class io.github.azagniotov.stubby4j.cli.ANSITerminal
 
logAssertingRequest(StubRequest) - Static method in class io.github.azagniotov.stubby4j.utils.ConsoleUtils
 
logIncomingRequest(HttpServletRequest) - Static method in class io.github.azagniotov.stubby4j.utils.ConsoleUtils
 
logIncomingRequestError(HttpServletRequest, String, String) - Static method in class io.github.azagniotov.stubby4j.utils.ConsoleUtils
 
logOutgoingResponse(String, HttpServletResponse) - Static method in class io.github.azagniotov.stubby4j.utils.ConsoleUtils
 
logUnmarshalledStub(StubHttpLifecycle) - Static method in class io.github.azagniotov.stubby4j.utils.ConsoleUtils
 

M

Main - Class in io.github.azagniotov.stubby4j
 
main(String[]) - Static method in class io.github.azagniotov.stubby4j.Main
 
MainYamlScanner - Class in io.github.azagniotov.stubby4j.filesystem
 
MainYamlScanner(StubRepository, long) - Constructor for class io.github.azagniotov.stubby4j.filesystem.MainYamlScanner
 
makeRequest(String, String, String, String, int, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes HTTP request to stubby.
makeRequest(String, String, String, String, int, String, Authorization) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Makes HTTP request to stubby.
matchStubByIndex(int) - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
muteConsole(boolean) - Static method in class io.github.azagniotov.stubby4j.cli.ANSITerminal
Disables console output

N

NAME - Static variable in class io.github.azagniotov.stubby4j.handlers.AdminPortalHandler
 
newStringUtf8(byte[]) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
newStubbedRequest() - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder
 
newStubbedResponse() - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
NO_AUTHORIZATION_HEADER - Static variable in class io.github.azagniotov.stubby4j.handlers.strategy.stubs.UnauthorizedResponseHandlingStrategy
 
notFoundResponse() - Static method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
NotFoundResponseHandlingStrategy - Class in io.github.azagniotov.stubby4j.handlers.strategy.stubs
 
NullHandlingStrategy - Class in io.github.azagniotov.stubby4j.handlers.strategy.admin
 
NullHandlingStrategy() - Constructor for class io.github.azagniotov.stubby4j.handlers.strategy.admin.NullHandlingStrategy
 

O

objectToString(Object) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
ObjectUtils - Class in io.github.azagniotov.stubby4j.utils
 
ofNullableProperty(String) - Static method in enum io.github.azagniotov.stubby4j.yaml.ConfigurableYAMLProperty
 
ok(String) - Static method in class io.github.azagniotov.stubby4j.cli.ANSITerminal
Prints message to the console in green colour
okResponse() - Static method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
OPTION_ADDRESS - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
OPTION_ADMINPORT - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
OPTION_CLIENTPORT - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
OPTION_CONFIG - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
OPTION_DEBUG - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
OPTION_DISABLE_ADMIN - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
OPTION_DISABLE_SSL - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
OPTION_HELP - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
OPTION_KEYPASS - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
OPTION_KEYSTORE - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
OPTION_MUTE - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
OPTION_TLSPORT - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
OPTION_VERSION - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
OPTION_WATCH - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 

P

parse(String, String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLParser
 
parse(String, File) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLParser
 
parseCommandLine(String[]) - Method in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
populateHtmlTemplate(String, Object...) - Static method in class io.github.azagniotov.stubby4j.utils.HandlerUtils
 
PostHandlingStrategy - Class in io.github.azagniotov.stubby4j.handlers.strategy.admin
 
PostHandlingStrategy() - Constructor for class io.github.azagniotov.stubby4j.handlers.strategy.admin.PostHandlingStrategy
 
POSTING_METHODS - Static variable in class io.github.azagniotov.stubby4j.common.Common
 
printHelp() - Method in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
Prints 'help' message which describes available command line arguments
printVersion() - Method in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
Prints current stubby4j version to the console
PROVIDED_OPTIONS - Static variable in class io.github.azagniotov.stubby4j.cli.CommandLineInterpreter
 
PutHandlingStrategy - Class in io.github.azagniotov.stubby4j.handlers.strategy.admin
 
PutHandlingStrategy() - Constructor for class io.github.azagniotov.stubby4j.handlers.strategy.admin.PutHandlingStrategy
 

R

readManifestBuiltDate() - Static method in class io.github.azagniotov.stubby4j.utils.JarUtils
 
readManifestImplementationVersion() - Static method in class io.github.azagniotov.stubby4j.utils.JarUtils
 
redirectResponse(Optional<StubResponse>) - Static method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
RedirectResponseHandlingStrategy - Class in io.github.azagniotov.stubby4j.handlers.strategy.stubs
 
ReflectableStub - Interface in io.github.azagniotov.stubby4j.stubs
 
ReflectionUtils - Class in io.github.azagniotov.stubby4j.utils
 
refreshStubByIndex(YAMLParser, String, int) - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
refreshStubsByPost(YAMLParser, String) - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
refreshStubsFromYAMLConfig(YAMLParser) - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
replaceTokens(byte[], Map<String, String>) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
replaceTokensInString(String, Map<String, String>) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
Request() - Constructor for class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
Response() - Constructor for class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
retrieveLoadedStubs() - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
run() - Method in class io.github.azagniotov.stubby4j.filesystem.ExternalFilesScanner
 
run() - Method in class io.github.azagniotov.stubby4j.filesystem.MainYamlScanner
 

S

search(HttpServletRequest) - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
 
setDebugEnabled(boolean) - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
setResponseMainHeaders(HttpServletResponse) - Static method in class io.github.azagniotov.stubby4j.utils.HandlerUtils
 
SnakeYaml - Enum in io.github.azagniotov.stubby4j.yaml
 
stage(Optional<ConfigurableYAMLProperty>, Optional<Object>) - Method in class io.github.azagniotov.stubby4j.stubs.AbstractBuilder
 
startJetty(String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Starts stubby using default ports of Stubs (8882), Admin (8889) and TlsStubs portals (7443) on localhost.
startJetty(int, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Starts stubby using default ports of Admin (8889) and TlsStubs portals (7443), and given Stubs portal port on localhost.
startJetty(int, int, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Starts stubby using default port of TlsStubs (7443), and given Stubs and Admin portals ports on localhost.
startJetty(int, int, int, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Starts stubby using given Stubs, TlsStubs and Admin portals ports on localhost.
startJetty(int, int, String, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Starts stubby using default port of TlsStubs (7443), and given Stubs and Admin portals ports on a given host address.
startJetty(int, int, int, String, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Starts stubby using given Stubs, TlsStubs, Admin portals ports and host address.
startJetty() - Method in class io.github.azagniotov.stubby4j.server.StubbyManager
 
startJettyYamless(int, int, int, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Starts stubby using given Stubs, TlsStubs, Admin portals ports and host address without YAML configuration file.
status(String) - Static method in class io.github.azagniotov.stubby4j.cli.ANSITerminal
Prints message to the console in light gray colour
statuses() - Method in class io.github.azagniotov.stubby4j.server.JettyFactory
 
statuses() - Method in class io.github.azagniotov.stubby4j.server.StubbyManager
 
StatusPageHandler - Class in io.github.azagniotov.stubby4j.handlers
 
StatusPageHandler(JettyContext, StubRepository) - Constructor for class io.github.azagniotov.stubby4j.handlers.StatusPageHandler
 
stopJetty() - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Stops Jetty if it is up
stopJetty() - Method in class io.github.azagniotov.stubby4j.server.StubbyManager
 
StringUtils - Class in io.github.azagniotov.stubby4j.utils
 
StubbableAuthorizationType - Enum in io.github.azagniotov.stubby4j.stubs
 
STUBBY_RESOURCE_ID_HEADER - Static variable in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
StubbyClient - Class in io.github.azagniotov.stubby4j.client
 
StubbyClient() - Constructor for class io.github.azagniotov.stubby4j.client.StubbyClient
 
StubbyHttpTransport - Class in io.github.azagniotov.stubby4j.http
 
StubbyHttpTransport() - Constructor for class io.github.azagniotov.stubby4j.http.StubbyHttpTransport
 
StubbyManager - Class in io.github.azagniotov.stubby4j.server
 
StubbyManagerFactory - Class in io.github.azagniotov.stubby4j.server
 
StubbyManagerFactory() - Constructor for class io.github.azagniotov.stubby4j.server.StubbyManagerFactory
 
StubbyResponse - Class in io.github.azagniotov.stubby4j.client
 
StubbyResponse(int, String) - Constructor for class io.github.azagniotov.stubby4j.client.StubbyResponse
 
StubDataRefreshActionHandler - Class in io.github.azagniotov.stubby4j.handlers
 
StubDataRefreshActionHandler(StubRepository) - Constructor for class io.github.azagniotov.stubby4j.handlers.StubDataRefreshActionHandler
 
StubHttpLifecycle - Class in io.github.azagniotov.stubby4j.stubs
 
StubHttpLifecycle.Builder - Class in io.github.azagniotov.stubby4j.stubs
 
StubRepository - Class in io.github.azagniotov.stubby4j.stubs
 
StubRepository(File, Future<List<StubHttpLifecycle>>) - Constructor for class io.github.azagniotov.stubby4j.stubs.StubRepository
 
StubRequest - Class in io.github.azagniotov.stubby4j.stubs
 
StubRequest.Builder - Class in io.github.azagniotov.stubby4j.stubs
 
StubResponse - Class in io.github.azagniotov.stubby4j.stubs
 
StubResponse.Builder - Class in io.github.azagniotov.stubby4j.stubs
 
StubResponseHandlingStrategy - Interface in io.github.azagniotov.stubby4j.handlers.strategy.stubs
 
StubSearchResult - Class in io.github.azagniotov.stubby4j.stubs
 
StubsPortalHandler - Class in io.github.azagniotov.stubby4j.handlers
 
StubsPortalHandler(StubRepository) - Constructor for class io.github.azagniotov.stubby4j.handlers.StubsPortalHandler
 
StubsResponseHandlingStrategyFactory - Class in io.github.azagniotov.stubby4j.handlers.strategy.stubs
 
StubTypes - Enum in io.github.azagniotov.stubby4j.stubs
 

T

toLower(String) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
toString() - Method in class io.github.azagniotov.stubby4j.client.Authorization
 
toString() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest
 
toString() - Method in enum io.github.azagniotov.stubby4j.yaml.ConfigurableYAMLProperty
 
toString() - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
toStubRequest(HttpServletRequest) - Method in class io.github.azagniotov.stubby4j.stubs.StubRepository
That's where the raw request is converted to a StubHttpLifecycle, which will be matched to the in-memory stubs
toUpper(String) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 
trimIfSet(String) - Static method in class io.github.azagniotov.stubby4j.utils.StringUtils
 

U

unauthorizedResponse() - Static method in class io.github.azagniotov.stubby4j.stubs.StubResponse
 
UnauthorizedResponseHandlingStrategy - Class in io.github.azagniotov.stubby4j.handlers.strategy.stubs
 
updateStubbedData(String, String) - Method in class io.github.azagniotov.stubby4j.client.StubbyClient
Updated stubbed data with new data.
uriToFile(String, String) - Static method in class io.github.azagniotov.stubby4j.utils.FileUtils
 
uriToFile(String) - Static method in class io.github.azagniotov.stubby4j.utils.FileUtils
 
UTF_8 - Static variable in class io.github.azagniotov.stubby4j.utils.StringUtils
 

V

valueOf(String) - Static method in enum io.github.azagniotov.stubby4j.handlers.strategy.admin.HttpVerbsEnum
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.azagniotov.stubby4j.stubs.StubbableAuthorizationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.azagniotov.stubby4j.stubs.StubTypes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.azagniotov.stubby4j.yaml.ConfigurableYAMLProperty
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.azagniotov.stubby4j.yaml.SnakeYaml
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.github.azagniotov.stubby4j.handlers.strategy.admin.HttpVerbsEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.azagniotov.stubby4j.stubs.StubbableAuthorizationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.azagniotov.stubby4j.stubs.StubTypes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.azagniotov.stubby4j.yaml.ConfigurableYAMLProperty
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.github.azagniotov.stubby4j.yaml.SnakeYaml
Returns an array containing the constants of this enum type, in the order they are declared.
VisibleForTesting - Annotation Type in io.github.azagniotov.stubby4j.annotations
An annotation that indicates that the visibility of a type or member has been relaxed to make the code testable.

W

warn(String) - Static method in class io.github.azagniotov.stubby4j.cli.ANSITerminal
Prints message to the console in yellow colour
warn(String, Object...) - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
warn(Throwable) - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
warn(String, Throwable) - Method in class io.github.azagniotov.stubby4j.cli.EmptyLogger
 
withApplicationJsonContentType() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withApplicationXmlContentType() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withBody(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse.Builder
 
withCompleteYAML(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle.Builder
 
withDescription(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle.Builder
 
withDescription(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withFile(File) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withFile(File) - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse.Builder
 
withFile(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withFile(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withFoldedBody(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withFoldedPost(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withHeader(String, String) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withHeaderAuthorizationBasic(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withHeaderAuthorizationBearer(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withHeaderAuthorizationCustom(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withHeaderContentEncoding(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withHeaderContentEncoding(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withHeaderContentEncoding(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withHeaderContentLanguage(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withHeaderContentLanguage(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withHeaderContentLanguage(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withHeaderContentLength(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withHeaderContentLength(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withHeaderContentLength(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withHeaderContentType(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withHeaderContentType(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withHeaderContentType(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withHeaderLocation(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withHeaderPragma(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withHeaderPragma(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withHeaders(String, String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withHeaders(String, String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withHttpStatusCode(HttpStatus.Code) - Method in class io.github.azagniotov.stubby4j.stubs.StubResponse.Builder
 
withLineBreak() - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withLiteralBody(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withLiteralPost(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withMethod(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withMethodGet() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withMethodGet() - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withMethodHead() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withMethodHead() - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withMethodPost() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withMethodPost() - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withMethodPut() - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withMethodPut() - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withPost(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withQuery(String, String) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withQuery(Map<String, String>) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withQuery(String, String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withRequest(StubRequest) - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle.Builder
 
withRequestAsYAML(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle.Builder
 
withResourceId(int) - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle.Builder
 
withResponse(Object) - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle.Builder
 
withResponseAsYAML(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubHttpLifecycle.Builder
 
withSequenceResponseFile(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withSequenceResponseFoldedBody(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withSequenceResponseHeaders(String, String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withSequenceResponseLiteralBody(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withSequenceResponseStatus(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withStatus(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Response
 
withUrl(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withUrl(String) - Method in class io.github.azagniotov.stubby4j.yaml.YAMLBuilder.Request
 
withYAMLHeaderAuthorizationBasic(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
withYAMLHeaderAuthorizationBearer(String) - Method in class io.github.azagniotov.stubby4j.stubs.StubRequest.Builder
 
writeErrorPage(HttpServletRequest, Writer, int, String, boolean) - Method in class io.github.azagniotov.stubby4j.handlers.JsonErrorHandler
 
WRONG_AUTHORIZATION_HEADER_TEMPLATE - Static variable in class io.github.azagniotov.stubby4j.handlers.strategy.stubs.UnauthorizedResponseHandlingStrategy
 

Y

YAMLBuilder - Class in io.github.azagniotov.stubby4j.yaml
Please refer to the accompanied unit tests for usage examples.
YAMLBuilder() - Constructor for class io.github.azagniotov.stubby4j.yaml.YAMLBuilder
 
YAMLBuilder.Request - Class in io.github.azagniotov.stubby4j.yaml
 
YAMLBuilder.Response - Class in io.github.azagniotov.stubby4j.yaml
 
YAMLParser - Class in io.github.azagniotov.stubby4j.yaml
 
YAMLParser() - Constructor for class io.github.azagniotov.stubby4j.yaml.YAMLParser
 
A B C D E F G H I J L M N O P R S T U V W Y 
Skip navigation links