- debug(String, Object...) - Method in class by.stub.cli.EmptyLogger
-
- debug(String, long) - Method in class by.stub.cli.EmptyLogger
-
- debug(Throwable) - Method in class by.stub.cli.EmptyLogger
-
- debug(String, Throwable) - Method in class by.stub.cli.EmptyLogger
-
- decode(Object) - Method in class by.stub.repackaged.org.apache.commons.codec.binary.BaseNCodec
-
Decodes an Object using the Base-N algorithm.
- decode(String) - Method in class by.stub.repackaged.org.apache.commons.codec.binary.BaseNCodec
-
Decodes a String containing characters in the Base-N alphabet.
- decode(byte[]) - Method in class by.stub.repackaged.org.apache.commons.codec.binary.BaseNCodec
-
Decodes a byte[] containing characters in the Base-N alphabet.
- decodeBase64(String) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Decodes a Base64 String into octets
- decodeBase64(byte[]) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Decodes Base64 data into octets
- decodeInteger(byte[]) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Decodes a byte64-encoded integer according to crypto standards such as W3C's XML-Signature
- decodeUrlEncodedQuotes(String) - Static method in class by.stub.utils.StringUtils
-
- DEFAULT_ADMIN_PORT - Static variable in class by.stub.server.JettyFactory
-
- DEFAULT_HOST - Static variable in class by.stub.server.JettyFactory
-
- DEFAULT_SSL_PORT - Static variable in class by.stub.server.JettyFactory
-
- DEFAULT_STUBS_PORT - Static variable in class by.stub.server.JettyFactory
-
- DefaultResponseHandlingStrategy - Class in by.stub.handlers.strategy.stubs
-
- DefaultResponseHandlingStrategy(StubResponse) - Constructor for class by.stub.handlers.strategy.stubs.DefaultResponseHandlingStrategy
-
- DeleteHandlingStrategy - Class in by.stub.handlers.strategy.admin
-
- DeleteHandlingStrategy() - Constructor for class by.stub.handlers.strategy.admin.DeleteHandlingStrategy
-
- deleteStubHttpLifecycleByIndex(int) - Method in class by.stub.database.StubbedDataManager
-
- doDelete(String, String, int, Authorization) - Method in class by.stub.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 by.stub.client.StubbyClient
-
Makes DELETE HTTP request to stubby over TLS on stubby4j default TLS port: 7443
Also can set basic authorisation HTTP header using encoded credentials (if provided).
- doesFilePathContainTemplateTokens(File) - Static method in class by.stub.utils.FileUtils
-
- doesFilePathContainTemplateTokens() - Method in class by.stub.yaml.stubs.StubResponse
-
- doGet(String, String, int) - Method in class by.stub.client.StubbyClient
-
Makes GET HTTP request to stubby
- doGet(String, String, int, Authorization) - Method in class by.stub.client.StubbyClient
-
Makes GET HTTP request to stubby
Also sets basic authorisation HTTP header using provided encoded credentials.
- doGetOverSsl(String, String) - Method in class by.stub.client.StubbyClient
-
Makes GET HTTP request to stubby over TLS on stubby4j default TLS port: 7443
- doGetOverSsl(String, String, int) - Method in class by.stub.client.StubbyClient
-
Makes GET HTTP request to stubby over TLS on stubby4j
- doGetOverSsl(String, String, int, Authorization) - Method in class by.stub.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 by.stub.client.StubbyClient
-
Makes GET HTTP request to stubby running on default host and port - localhost:8882
- doGetUsingDefaults(String, Authorization) - Method in class by.stub.client.StubbyClient
-
Makes GET HTTP request to stubby running on default host and port - localhost:8882.
- doPost(String, String, int, String) - Method in class by.stub.client.StubbyClient
-
Makes POST HTTP request to stubby
- doPost(String, String, int, Authorization, String) - Method in class by.stub.client.StubbyClient
-
Makes POST HTTP request to stubby
Also sets basic authorisation HTTP header using provided encoded credentials.
- doPostUsingDefaults(String, String) - Method in class by.stub.client.StubbyClient
-
Makes POST HTTP request to stubby running on default host and port - localhost:8882
- doPostUsingDefaults(String, String, Authorization) - Method in class by.stub.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 by.stub.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 by.stub.client.StubbyClient
-
Makes PUT HTTP request to stubby over TLS on stubby4j default TLS port: 7443
Also can set basic authorisation HTTP header using encoded credentials (if provided).
- dump(String) - Static method in class by.stub.cli.ANSITerminal
-
Prints message to the console
- dump(HttpServletRequest) - Static method in class by.stub.utils.HttpRequestUtils
-
Debug complete request
- EmptyLogger - Class in by.stub.cli
-
Class used to suppress default console output of Jetty
- EmptyLogger() - Constructor for class by.stub.cli.EmptyLogger
-
- enableDebug(boolean) - Static method in class by.stub.utils.ConsoleUtils
-
Enables verbose console output
- encode(Object) - Method in class by.stub.repackaged.org.apache.commons.codec.binary.BaseNCodec
-
Encodes an Object using the Base-N algorithm.
- encode(byte[]) - Method in class by.stub.repackaged.org.apache.commons.codec.binary.BaseNCodec
-
Encodes a byte[] containing binary data, into a byte[] containing characters in the alphabet.
- encodeAsString(byte[]) - Method in class by.stub.repackaged.org.apache.commons.codec.binary.BaseNCodec
-
Encodes a byte[] containing binary data, into a String containing characters in the appropriate alphabet.
- encodeBase64(byte[]) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Encodes binary data using the base64 algorithm but does not chunk the output.
- encodeBase64(byte[], boolean) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeBase64(byte[], boolean, boolean) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeBase64(byte[], boolean, boolean, int) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeBase64(String) - Static method in class by.stub.utils.StringUtils
-
- encodeBase64Chunked(byte[]) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks
- encodeBase64String(byte[]) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Encodes binary data using the base64 algorithm but does not chunk the output.
- encodeBase64URLSafe(byte[]) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
- encodeBase64URLSafeString(byte[]) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Encodes binary data using a URL-safe variation of the base64 algorithm but does not chunk the output.
- encodeInteger(BigInteger) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Encodes to a byte64-encoded integer according to crypto standards such as W3C's XML-Signature
- encodeSingleQuotes(String) - Static method in class by.stub.utils.StringUtils
-
- encodeToString(byte[]) - Method in class by.stub.repackaged.org.apache.commons.codec.binary.BaseNCodec
-
Encodes a byte[] containing binary data, into a String containing characters in the Base-N alphabet.
- enforceSystemLineSeparator(String) - Static method in class by.stub.utils.FileUtils
-
- ensureBufferSize(int) - Method in class by.stub.repackaged.org.apache.commons.codec.binary.BaseNCodec
-
Ensure that the buffer has room for size bytes
- eof - Variable in class by.stub.repackaged.org.apache.commons.codec.binary.BaseNCodec
-
Boolean flag to indicate the EOF has been reached.
- equals(Object) - Method in class by.stub.yaml.stubs.StubHttpLifecycle
-
- equals(Object) - Method in class by.stub.yaml.stubs.StubRequest
-
- error(String) - Static method in class by.stub.cli.ANSITerminal
-
Prints message to the console in red colour
- escapeHtmlEntities(String) - Static method in class by.stub.utils.StringUtils
-
- ExternalFilesScanner - Class in by.stub.database.thread
-
- ExternalFilesScanner(StubbedDataManager, long) - Constructor for class by.stub.database.thread.ExternalFilesScanner
-
- extractFilenameExtension(String) - Static method in class by.stub.utils.StringUtils
-
- extractPostRequestBody(HttpServletRequest, String) - Static method in class by.stub.utils.HandlerUtils
-
- ignore(Throwable) - Method in class by.stub.cli.EmptyLogger
-
- incoming(String) - Static method in class by.stub.cli.ANSITerminal
-
Prints message to the console in cyan colour
- info(String) - Static method in class by.stub.cli.ANSITerminal
-
Prints message to the console in blue colour
- info(String, Object...) - Method in class by.stub.cli.EmptyLogger
-
- info(Throwable) - Method in class by.stub.cli.EmptyLogger
-
- info(String, Throwable) - Method in class by.stub.cli.EmptyLogger
-
- injectObjectFields(Object, String, Object) - Static method in class by.stub.utils.ReflectionUtils
-
- injectObjectFields(Object, Map<String, Object>) - Static method in class by.stub.utils.ReflectionUtils
-
- inputStreamToString(InputStream) - Static method in class by.stub.utils.StringUtils
-
- IOUtils - Class in by.stub.repackaged.org.apache.commons.io
-
General IO stream manipulation utilities.
- isArrayByteBase64(byte[]) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
- isAsciiFile(File) - Static method in class by.stub.utils.FileUtils
-
- isAssertingRequestUnauthorized(StubHttpLifecycle) - Method in class by.stub.yaml.stubs.StubHttpLifecycle
-
- isAuthorizationRequired() - Method in class by.stub.yaml.stubs.StubHttpLifecycle
-
- isBase64(byte) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Returns whether or not the octet is in the base 64 alphabet.
- isBase64(String) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Tests a given String to see if it contains only valid characters within the Base64 alphabet.
- isBase64(byte[]) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Tests a given byte array to see if it contains only valid characters within the Base64 alphabet.
- isClientTrusted(X509Certificate[]) - Method in class by.stub.server.FakeX509TrustManager
-
- isContainsTemplateTokens() - Method in class by.stub.yaml.stubs.StubResponse
-
- isDebug() - Method in class by.stub.cli.CommandLineInterpreter
-
Checks if debug option was provided
- isDebugEnabled() - Method in class by.stub.cli.EmptyLogger
-
- isHelp() - Method in class by.stub.cli.CommandLineInterpreter
-
Checks if help option was provided
- isInAlphabet(byte) - Method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Returns whether or not the octet is in the Base32 alphabet.
- isInAlphabet(byte) - Method in class by.stub.repackaged.org.apache.commons.codec.binary.BaseNCodec
-
Returns whether or not the octet is in the current alphabet.
- isInAlphabet(byte[], boolean) - Method in class by.stub.repackaged.org.apache.commons.codec.binary.BaseNCodec
-
Tests a given byte array to see if it contains only valid characters within the alphabet.
- isInAlphabet(String) - Method in class by.stub.repackaged.org.apache.commons.codec.binary.BaseNCodec
-
Tests a given String to see if it contains only valid characters within the alphabet.
- isMute() - Static method in class by.stub.cli.ANSITerminal
-
Checks whether console output has been disabled by user using command line argument
- isMute() - Method in class by.stub.cli.CommandLineInterpreter
-
Checks if console output has been muted
- isNotNull(Object) - Static method in class by.stub.utils.ObjectUtils
-
- isNull(Object) - Static method in class by.stub.utils.ObjectUtils
-
- isRecordingRequired() - Method in class by.stub.yaml.stubs.StubResponse
-
- isSecured() - Method in class by.stub.yaml.stubs.StubRequest
-
- isServerTrusted(X509Certificate[]) - Method in class by.stub.server.FakeX509TrustManager
-
- isSet(String) - Static method in class by.stub.utils.StringUtils
-
- isStubHttpLifecycleExistsByIndex(int) - Method in class by.stub.database.StubbedDataManager
-
- isTemplateFile(File) - Static method in class by.stub.utils.FileUtils
-
- isUrlSafe() - Method in class by.stub.repackaged.org.apache.commons.codec.binary.Base64
-
Returns our current encode mode.
- isUSAscii(String) - Static method in class by.stub.utils.StringUtils
-
- isVersion() - Method in class by.stub.cli.CommandLineInterpreter
-
Checks if version option was provided
- isWhiteSpace(byte) - Static method in class by.stub.repackaged.org.apache.commons.codec.binary.BaseNCodec
-
Checks if a byte value is whitespace or not.
- isWithinSquareBrackets(String) - Static method in class by.stub.utils.StringUtils
-
- isYamlProvided() - Method in class by.stub.cli.CommandLineInterpreter
-
Checks if data YAML was provided
- valueOf(String) - Static method in enum by.stub.handlers.strategy.admin.HttpVerbsEnum
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum by.stub.yaml.stubs.StubAuthorizationTypes
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum by.stub.yaml.stubs.StubResponseTypes
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum by.stub.yaml.stubs.StubTypes
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum parser.yaml.SnakeYaml
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum by.stub.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 by.stub.yaml.stubs.StubAuthorizationTypes
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum by.stub.yaml.stubs.StubResponseTypes
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum by.stub.yaml.stubs.StubTypes
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum parser.yaml.SnakeYaml
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VisibleForTesting - Annotation Type in by.stub.annotations
-
An annotation that indicates that the visibility of a type or member has been relaxed to make the code testable.