Uses of Class
org.apache.juneau.assertions.FluentStringAssertion
Packages that use FluentStringAssertion
Package
Description
HTTP Entity Beans
HTTP Header Beans
HTTP Part Beans
HTTP Resource Beans
REST Server API
REST Assertions
REST Client API
REST Client Assertions
REST Server Mock API
-
Uses of FluentStringAssertion in org.apache.juneau.assertions
Subclasses of FluentStringAssertion in org.apache.juneau.assertionsModifier and TypeClassDescriptionclass
Used for assertion calls against string objects.Methods in org.apache.juneau.assertions that return FluentStringAssertionModifier and TypeMethodDescriptionFluentByteArrayAssertion.asBase64()
Converts this byte array to a base-64 encoded string and returns it as a new assertion.FluentArrayAssertion.asCdl()
Converts the entries in this list to a simple comma-delimited list and returns the value as a fluent string assertion.Converts the entries to strings using the specified stringify function, combines them into a simple comma-delimited list, and returns the value as a fluent string assertion.FluentListAssertion.asCdl()
Converts the entries in this list to a simple comma-delimited list and returns the value as a fluent string assertion.Converts the entries to strings using the specified stringify function, combines them into a simple comma-delimited list, and returns the value as a fluent string assertion.FluentByteArrayAssertion.asHex()
Converts this byte array to hexadecimal and returns it as a new assertion.FluentStringAssertion.asJavaStrings()
When enabled, text in the message is converted to valid Java strings.FluentStringListAssertion.asJoin()
Concatenates this list of strings into aFluentStringAssertion
.Concatenates this list of strings into aFluentStringAssertion
.Concatenates this list of strings into aFluentStringAssertion
.FluentObjectAssertion.asJson()
Converts this object to simplified JSON and returns it as a new assertion.FluentObjectAssertion.asJsonSorted()
Converts this object to sorted simplified JSON and returns it as a new assertion.FluentStringAssertion.asLc()
Converts the text to lowercase.FluentThrowableAssertion.asLocalizedMessage()
Returns an assertion against the throwable localized message.FluentThrowableAssertion.asMessage()
Returns an assertion against the throwable message.FluentStringAssertion.asOneLine()
Removes any newlines from the string.Performs the specified substring replacement on the underlying string.FluentStringAssertion.asReplaceAll
(String regex, String replacement) Performs the specified regular expression replacement on the underlying string.FluentByteArrayAssertion.asSpacedHex()
Converts this byte array to spaced hexadecimal and returns it as a new assertion.FluentArrayAssertion.asString()
FluentByteArrayAssertion.asString()
Converts this byte array to a UTF-8 encoded string and returns it as a new assertion.Converts this byte array to a string and returns it as a new assertion.FluentObjectAssertion.asString()
Converts this object to a string usingObject.toString()
and returns it as a new assertion.Converts this object to a string using the specified function and returns it as a new assertion.FluentObjectAssertion.asString
(WriterSerializer ws) Converts this object to text using the specified serializer and returns it as a new assertion.FluentPrimitiveArrayAssertion.asString()
FluentStringAssertion.asTransformed
(Function<String, String> function) FluentStringAssertion.asTrimmed()
Removes any leading/trailing whitespace from the string.FluentStringAssertion.asUc()
Converts the text to uppercase.FluentStringAssertion.asUrlDecode()
URL-decodes the text in this assertion.FluentStringAssertion.setOut
(PrintStream value) FluentStringAssertion.setSilent()
FluentStringAssertion.setStdOut()
FluentStringAssertion.setThrowable
(Class<? extends RuntimeException> value) -
Uses of FluentStringAssertion in org.apache.juneau.http.entity
Methods in org.apache.juneau.http.entity that return FluentStringAssertionModifier and TypeMethodDescriptionBasicHttpEntity.assertString()
Returns an assertion on the contents of this entity. -
Uses of FluentStringAssertion in org.apache.juneau.http.header
Methods in org.apache.juneau.http.header that return FluentStringAssertionModifier and TypeMethodDescriptionBasicHeader.assertName()
Provides an object for performing assertions against the name of this header.BasicStringHeader.assertString()
Provides the ability to perform fluent-style assertions on this header.BasicHeader.assertStringValue()
Provides an object for performing assertions against the value of this header. -
Uses of FluentStringAssertion in org.apache.juneau.http.part
Methods in org.apache.juneau.http.part that return FluentStringAssertionModifier and TypeMethodDescriptionBasicPart.assertName()
Provides an object for performing assertions against the name of this pair.BasicStringPart.assertString()
Provides the ability to perform fluent-style assertions on this part.BasicPart.assertValue()
Provides an object for performing assertions against the value of this pair. -
Uses of FluentStringAssertion in org.apache.juneau.http.resource
Methods in org.apache.juneau.http.resource that return FluentStringAssertionModifier and TypeMethodDescriptionBasicResource.assertString()
Returns an assertion on the contents of the entity of this resource. -
Uses of FluentStringAssertion in org.apache.juneau.rest
Methods in org.apache.juneau.rest that return FluentStringAssertionModifier and TypeMethodDescriptionRestRequest.assertCharset()
Provides the ability to perform fluent-style assertions on the response character encoding. -
Uses of FluentStringAssertion in org.apache.juneau.rest.assertions
Subclasses of FluentStringAssertion in org.apache.juneau.rest.assertionsModifier and TypeClassDescriptionclass
Used for fluent assertion calls againstRequestFormParam
objects.class
Used for fluent assertion calls againstRequestHeader
objects.class
Used for fluent assertion calls againstRequestQueryParam
objects.Methods in org.apache.juneau.rest.assertions that return FluentStringAssertionModifier and TypeMethodDescriptionFluentRequestLineAssertion.asMethod()
Returns the request line method string as a new assertion.FluentProtocolVersionAssertion.asProtocol()
Returns the protocol string as a new assertion.FluentRequestLineAssertion.asUri()
Returns the request line uri string as a new assertion. -
Uses of FluentStringAssertion in org.apache.juneau.rest.client
Methods in org.apache.juneau.rest.client that return FluentStringAssertionModifier and TypeMethodDescriptionRestResponse.assertCharset()
Provides the ability to perform fluent-style assertions on the response character encoding.ResponseContent.assertString()
Shortcut for callingassertValue().asString() .ResponseHeader.assertString()
Shortcut for callingassertValue().asString() . -
Uses of FluentStringAssertion in org.apache.juneau.rest.client.assertion
Subclasses of FluentStringAssertion in org.apache.juneau.rest.client.assertionModifier and TypeClassDescriptionclass
Used for fluent assertion calls againstResponseHeader
objects.Methods in org.apache.juneau.rest.client.assertion that return FluentStringAssertionModifier and TypeMethodDescriptionFluentResponseStatusLineAssertion.asProtocol()
Returns an assertion against the protocol on the response status object.FluentResponseStatusLineAssertion.asReason()
Returns an assertion against the reason phrase on the response status object.FluentResponseBodyAssertion.asString()
Provides the ability to perform fluent-style assertions on this response body. -
Uses of FluentStringAssertion in org.apache.juneau.rest.httppart
Methods in org.apache.juneau.rest.httppart that return FluentStringAssertionModifier and TypeMethodDescriptionBasicNamedAttribute.assertName()
Provides an object for performing assertions against the name of this pair.RequestHttpPart.assertString()
Provides the ability to perform fluent-style assertions on this parameter. -
Uses of FluentStringAssertion in org.apache.juneau.rest.mock
Methods in org.apache.juneau.rest.mock that return FluentStringAssertionModifier and TypeMethodDescriptionMockConsole.assertContents()
Allows you to perform fluent-style assertions on the contents of this buffer.MockLogger.assertContents()
Allows you to perform fluent-style assertions on the contents of the log file.MockLogger.assertLastMessage()
Asserts that the last message matched the specified message.