A C D F G H I N P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addResourceHandlers(ResourceHandlerRegistry) - Method in class de.juplo.httpresources.HttpResourceProtocolResolverIT.Application
- addResourceHandlers(ResourceHandlerRegistry) - Method in class de.juplo.httpresources.ThymeleafWithHttpResourceProtocolResolverIT.Application
- addResourceHandlers(ResourceHandlerRegistry) - Method in class de.juplo.httpresources.VersionedResourcesIT.Application
- address(String) - Method in class de.juplo.httpresources.IntegrationTestBase
- Application() - Constructor for class de.juplo.httpresources.HttpResourceProtocolResolverIT.Application
- Application() - Constructor for class de.juplo.httpresources.ThymeleafWithHttpResourceProtocolResolverIT.Application
- Application() - Constructor for class de.juplo.httpresources.VersionedResourcesIT.Application
C
- cache() - Method in class de.juplo.httpresources.IntegrationTestBase.IntegrationTestConfiguration
- Callback() - Constructor for class de.juplo.httpresources.IntegrationTestBase.Callback
- clearCache() - Method in class de.juplo.httpresources.HttpResourcesIT
- clearMockServer() - Method in class de.juplo.httpresources.IntegrationTestBase
- clock() - Method in class de.juplo.httpresources.VersionedResourcesIT.Application
- CLOCK - Static variable in class de.juplo.httpresources.IntegrationTestBase
- ClockStub() - Constructor for class de.juplo.httpresources.IntegrationTestBase.ClockStub
- ConfigurableNginxContainer - Class in de.juplo.httpresources
-
A configurable subclass of the
NginxContainer
. - ConfigurableNginxContainer() - Constructor for class de.juplo.httpresources.ConfigurableNginxContainer
-
Creates an instance with a default-configuration, that matches the static configuration of the base-class
NginxContainer
- configure() - Method in class de.juplo.httpresources.ConfigurableNginxContainer
- controller(String, Model) - Method in class de.juplo.httpresources.ThymeleafWithHttpResourceProtocolResolverIT.TestController
D
- de.juplo.httpresources - package de.juplo.httpresources
- DEFAULT_NGINX_PORT - Static variable in class de.juplo.httpresources.ConfigurableNginxContainer
- DEFAULT_TICK - Static variable in class de.juplo.httpresources.IntegrationTestBase.ClockStub
- defaultTemplateResolver(ThymeleafProperties, ApplicationContext, ClientAndServer) - Method in class de.juplo.httpresources.ThymeleafWithHttpResourceProtocolResolverIT.Application
-
This mimics the autoconfiguration of Thymeleaf in Spring-Boot.
F
- FETCH(String) - Static method in class de.juplo.httpresources.IntegrationTestBase
- fetcher(Cache) - Method in class de.juplo.httpresources.IntegrationTestBase.IntegrationTestConfiguration
- formatter - Static variable in class de.juplo.httpresources.IntegrationTestBase
G
- getGlobalDirectives() - Method in class de.juplo.httpresources.ConfigurableNginxContainer
- getMockServerPort() - Method in class de.juplo.httpresources.IntegrationTestBase
- getMockServerUri() - Method in class de.juplo.httpresources.IntegrationTestBase
- getZone() - Method in class de.juplo.httpresources.IntegrationTestBase.ClockStub
H
- handle(HttpRequest) - Method in class de.juplo.httpresources.IntegrationTestBase.Callback
- handle(HttpRequest, HttpResponse) - Method in class de.juplo.httpresources.IntegrationTestBase.Callback
- HttpResourceChainAwareResourceLoaderIT - Class in de.juplo.httpresources
- HttpResourceChainAwareResourceLoaderIT() - Constructor for class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderIT
- HttpResourceChainAwareResourceLoaderTest - Class in de.juplo.httpresources
- HttpResourceChainAwareResourceLoaderTest() - Constructor for class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderTest
- HttpResourceExpiredFetchModifiedTest - Class in de.juplo.httpresources
- HttpResourceExpiredFetchModifiedTest() - Constructor for class de.juplo.httpresources.HttpResourceExpiredFetchModifiedTest
- HttpResourceExpiredFetchNotFoundTest - Class in de.juplo.httpresources
- HttpResourceExpiredFetchNotFoundTest() - Constructor for class de.juplo.httpresources.HttpResourceExpiredFetchNotFoundTest
- HttpResourceExpiredFetchServerErrorTest - Class in de.juplo.httpresources
- HttpResourceExpiredFetchServerErrorTest() - Constructor for class de.juplo.httpresources.HttpResourceExpiredFetchServerErrorTest
- HttpResourceExpiredFetchUnmodifiedTest - Class in de.juplo.httpresources
- HttpResourceExpiredFetchUnmodifiedTest() - Constructor for class de.juplo.httpresources.HttpResourceExpiredFetchUnmodifiedTest
- HttpResourceExpiredTest - Class in de.juplo.httpresources
- HttpResourceExpiredTest() - Constructor for class de.juplo.httpresources.HttpResourceExpiredTest
- HttpResourceFetcherTest - Class in de.juplo.httpresources
-
Tests the inner class
HttpResourceFetcher
. - HttpResourceFetcherTest() - Constructor for class de.juplo.httpresources.HttpResourceFetcherTest
- HttpResourceNotExpiredFetchModifiedTest - Class in de.juplo.httpresources
- HttpResourceNotExpiredFetchModifiedTest() - Constructor for class de.juplo.httpresources.HttpResourceNotExpiredFetchModifiedTest
- HttpResourceNotExpiredFetchNotFoundTest - Class in de.juplo.httpresources
- HttpResourceNotExpiredFetchNotFoundTest() - Constructor for class de.juplo.httpresources.HttpResourceNotExpiredFetchNotFoundTest
- HttpResourceNotExpiredFetchServerErrorTest - Class in de.juplo.httpresources
- HttpResourceNotExpiredFetchServerErrorTest() - Constructor for class de.juplo.httpresources.HttpResourceNotExpiredFetchServerErrorTest
- HttpResourceNotExpiredFetchUnmodifiedTest - Class in de.juplo.httpresources
- HttpResourceNotExpiredFetchUnmodifiedTest() - Constructor for class de.juplo.httpresources.HttpResourceNotExpiredFetchUnmodifiedTest
- HttpResourceNotExpiredTest - Class in de.juplo.httpresources
- HttpResourceNotExpiredTest() - Constructor for class de.juplo.httpresources.HttpResourceNotExpiredTest
- HttpResourceNotFetchedFirstFetchNotFoundTest - Class in de.juplo.httpresources
- HttpResourceNotFetchedFirstFetchNotFoundTest() - Constructor for class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
- HttpResourceNotFetchedFirstFetchServerErrorTest - Class in de.juplo.httpresources
- HttpResourceNotFetchedFirstFetchServerErrorTest() - Constructor for class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
- HttpResourceNotFetchedFirstFetchSuccessfulTest - Class in de.juplo.httpresources
- HttpResourceNotFetchedFirstFetchSuccessfulTest() - Constructor for class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
- HttpResourceNotFetchedTest - Class in de.juplo.httpresources
- HttpResourceNotFetchedTest() - Constructor for class de.juplo.httpresources.HttpResourceNotFetchedTest
- HttpResourceProtocolResolverIT - Class in de.juplo.httpresources
-
Mostly identically with
HttpResourceResolverIT
. - HttpResourceProtocolResolverIT() - Constructor for class de.juplo.httpresources.HttpResourceProtocolResolverIT
- HttpResourceProtocolResolverIT.Application - Class in de.juplo.httpresources
- HttpResourceProtocolResolverTest - Class in de.juplo.httpresources
- HttpResourceProtocolResolverTest() - Constructor for class de.juplo.httpresources.HttpResourceProtocolResolverTest
- httpResources(HttpResourceFetcher) - Method in class de.juplo.httpresources.IntegrationTestBase.IntegrationTestConfiguration
- HttpResourcesIT - Class in de.juplo.httpresources
- HttpResourcesIT() - Constructor for class de.juplo.httpresources.HttpResourcesIT
- HttpResourcesTest - Class in de.juplo.httpresources
-
Tests for the methods
HttpResources.getResource(java.net.URI)
andHttpResources.convert(java.lang.String)
- HttpResourcesTest() - Constructor for class de.juplo.httpresources.HttpResourcesTest
I
- instant() - Method in class de.juplo.httpresources.IntegrationTestBase.ClockStub
- IntegrationTestBase - Class in de.juplo.httpresources
-
This class starts a {@link https://www.testcontainers.org/modules/nginx/ NginX-Webserver} via a {@link https://www.testcontainers.org/ Testcontainer} and a standalone {@link http://www.mock-server.com/#what-is-mockserver MockServer}, that can be used to intercept requests for assertions / verifications.
- IntegrationTestBase() - Constructor for class de.juplo.httpresources.IntegrationTestBase
- IntegrationTestBase.Callback - Class in de.juplo.httpresources
- IntegrationTestBase.ClockStub - Class in de.juplo.httpresources
- IntegrationTestBase.IntegrationTestConfiguration - Class in de.juplo.httpresources
- IntegrationTestConfiguration() - Constructor for class de.juplo.httpresources.IntegrationTestBase.IntegrationTestConfiguration
- INTERNAL_SERVER_ERROR() - Static method in class de.juplo.httpresources.IntegrationTestBase
N
- NGINIX_IP() - Static method in class de.juplo.httpresources.IntegrationTestBase
- NGINX - Static variable in class de.juplo.httpresources.IntegrationTestBase
- NGINX() - Static method in class de.juplo.httpresources.IntegrationTestBase
- NGINX(String) - Static method in class de.juplo.httpresources.IntegrationTestBase
- NGINX_PORT() - Static method in class de.juplo.httpresources.IntegrationTestBase
- NGINX_URI() - Static method in class de.juplo.httpresources.IntegrationTestBase
- NOT_FOUND() - Static method in class de.juplo.httpresources.IntegrationTestBase
- now - Variable in class de.juplo.httpresources.IntegrationTestBase.ClockStub
P
- prepareMockServer() - Method in class de.juplo.httpresources.IntegrationTestBase
-
Prepares the mock-server to forward any request to the NginX-server, for which no more specific expectation was specified.
R
- RESPONSE() - Static method in class de.juplo.httpresources.IntegrationTestBase
S
- server - Variable in class de.juplo.httpresources.IntegrationTestBase
- server() - Method in class de.juplo.httpresources.IntegrationTestBase.IntegrationTestConfiguration
- setUp() - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderIT
- setUp() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchModifiedTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchNotFoundTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchServerErrorTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchUnmodifiedTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchModifiedTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchNotFoundTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchServerErrorTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchUnmodifiedTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
-
SETUP
- setUp() - Method in class de.juplo.httpresources.HttpResourceProtocolResolverIT
- setUp() - Method in class de.juplo.httpresources.HttpResourceProtocolResolverTest
- setUp() - Method in class de.juplo.httpresources.ThymeleafWithHttpResourceProtocolResolverIT
- setUp() - Method in class de.juplo.httpresources.VersionedResourcesIT
T
- test_contentLength_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_contentLength_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_contentLength_ReturnsExpectedLength() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
- test_contentLength_ThrowsFileNotFoundException() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
- test_contentLength_ThrowsFileNotFoundException() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
- test_contentLength_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_contentLength_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
- test_contentLength_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
- test_contentLength_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
- test_contentType_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_contentType_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_contentType_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_eTag_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_eTag_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_eTag_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_exists_IsFalse() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
- test_exists_IsFalse() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
- test_exists_IsTrue() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchModifiedTest
- test_exists_IsTrue() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchUnmodifiedTest
- test_exists_IsTrue() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_exists_IsTrue() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
- test_exists_ReportsFalse() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchNotFoundTest
- test_exists_ReportsFalse() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchServerErrorTest
- test_exists_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_exists_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_exists_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchModifiedTest
- test_exists_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchNotFoundTest
- test_exists_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchServerErrorTest
- test_exists_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchUnmodifiedTest
- test_exists_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
- test_exists_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
- test_exists_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
- test_expires_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_expires_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_expires_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_Fetch_200_HTTP10() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_200_HTTP10_InvalidExpires() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_200_HTTP11() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_200_HTTP11_DateMissing_() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_200_HTTP11_Encoding() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_200_HTTP11_MaxAge0() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_200_HTTP11_MinTTL() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_200_HTTP11_MustRevalidate() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_200_HTTP11_NoCache() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_200_HTTP11_NoCacheQualified() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_200_Mixed() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_200_Mixed_ExpiresOverwritten() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_200_NoHeaders() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_200_NoHeaders_NoBody() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_404_HTTP11() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_404_HTTP11_Cacheable() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_500_HTTP11() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_Cached_Expired() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_Cached_NotFound() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_Cached_ServerError() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Fetch_Cached_Valid() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_fetch_ReportsModifications() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchModifiedTest
-
Results for calls, that did trigger a fetch
- test_fetch_ReportsModifications() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchNotFoundTest
-
Results for calls, that did trigger a fetch
- test_fetch_ReportsModifications() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchServerErrorTest
-
Results for calls, that did trigger a fetch
- test_fetch_ReportsModifications() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
-
Results for calls, that trigger a fetch
- test_fetch_ReportsModifications() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
-
Results for calls, that trigger a fetch
- test_fetch_ReportsModifications() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
-
Results for calls, that trigger a fetch
- test_fetch_ReportsNoModifications() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchUnmodifiedTest
-
Results for calls, that did trigger a fetch
- test_fetch_ReturnsFalseIfFetcherReturnedFalse() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchUnmodifiedTest
-
Results for calls, that does trigger a fetch
- test_fetch_ReturnsTrueIfFetcherReturnedFalse() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchModifiedTest
-
Results for calls, that does trigger a fetch
- test_fetch_ReturnsTrueIfFetcherReturnedFalse() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchNotFoundTest
-
Results for calls, that does trigger a fetch
- test_fetch_ReturnsTrueIfFetcherReturnedFalse() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchServerErrorTest
-
Results for calls, that does trigger a fetch
- test_Fetch_ServerDown() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_fetch_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
-
Calls, that trigger a fetch
- test_fetch_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchModifiedTest
-
Calls, that trigger a fetch
- test_fetch_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchNotFoundTest
-
Calls, that trigger a fetch
- test_fetch_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchServerErrorTest
-
Calls, that trigger a fetch
- test_fetch_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
-
Calls, that trigger a fetch
- test_fetch_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
-
Calls, that trigger a fetch
- test_fetch_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchModifiedTest
-
Expected state after calls, that did trigger a fetch
- test_fetch_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchNotFoundTest
-
Expected state after calls, that did trigger a fetch
- test_fetch_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchServerErrorTest
-
Expected state after calls, that did trigger a fetch
- test_fetch_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchUnmodifiedTest
-
Expected state after calls, that did trigger a fetch
- test_fetch_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchModifiedTest
-
Expected state after calls that trigger a fetch
- test_fetch_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchNotFoundTest
-
Expected state after calls that trigger a fetch
- test_fetch_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchServerErrorTest
-
Expected state after calls that trigger a fetch
- test_fetch_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotExpiredFetchUnmodifiedTest
-
Expected state after calls that trigger a fetch
- test_fetch_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
-
Expected state after calls that trigger a fetch
- test_fetch_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
-
Expected state after calls that trigger a fetch
- test_fetch_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
-
Expected state after calls that trigger a fetch
- test_fetched_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
-
Calls, that do not trigger a fetch
- test_fetched_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
-
Calls, that do not trigger a fetch
- test_fetched_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
-
Calls, that do not trigger a fetch
- test_getInputStream_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_getInputStream_ThrowsFileNotFoundException() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
- test_getInputStream_ThrowsFileNotFoundException() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
- test_getInputStream_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_getInputStream_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
- test_getInputStream_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_getInputStream_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchModifiedTest
- test_getInputStream_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchNotFoundTest
- test_getInputStream_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchServerErrorTest
- test_getInputStream_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchUnmodifiedTest
- test_getInputStream_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
- test_getInputStream_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
- test_getInputStream_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
- test_hasExpectedContent() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchModifiedTest
- test_hasExpectedContent() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_hasExpectedContentLength() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_hasExpectedContentLength() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_hasExpectedContentType() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_hasExpectedContentType() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_hasExpectedETag() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_hasExpectedETag() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_hasExpectedLastModification() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_hasExpectedLastModification() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_hasInitialExpirationValue() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_hasInitialExpirationValue() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_hasInitialExpirationValue() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_HasNoContent() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchNotFoundTest
- test_HasNoContent() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchServerErrorTest
- test_hasNoContentType() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_hasNoETag() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_isExpired() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_isExpired_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_isExpired_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_isExpired_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_isModified_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_isModified_IsTrue() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
- test_isModified_IsTrue() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
- test_isModified_IsTrue() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
- test_isModified_ReportsModifications() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchModifiedTest
- test_isModified_ReportsModifications() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchNotFoundTest
- test_isModified_ReportsModifications() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchServerErrorTest
- test_isModified_ReportsNoModifications() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchUnmodifiedTest
- test_isModified_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_isModified_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_isModified_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchModifiedTest
- test_isModified_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchNotFoundTest
- test_isModified_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchServerErrorTest
- test_isModified_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchUnmodifiedTest
- test_isModified_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
- test_isModified_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
- test_isModified_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
- test_isNotExpired() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_isNotExpired() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_isNotFetched() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
-
Results for calls, that does never trigger a fetch
- test_isNotFetched() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
-
Results for calls, that does never trigger a fetch
- test_isNotFetched() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
-
Initial results for calls, that does not trigger a fetch
- test_isNotModified() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_isNotModified() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_isReadable_IsFalse() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
- test_isReadable_IsFalse() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
- test_isReadable_IsTrue() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchModifiedTest
- test_isReadable_IsTrue() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchUnmodifiedTest
- test_isReadable_IsTrue() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_isReadable_IsTrue() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
- test_isReadable_ReportsFalse() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchNotFoundTest
- test_isReadable_ReportsFalse() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchServerErrorTest
- test_isReadable_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_isReadable_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_isReadable_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchModifiedTest
- test_isReadable_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchNotFoundTest
- test_isReadable_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchServerErrorTest
- test_isReadable_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceExpiredFetchUnmodifiedTest
- test_isReadable_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
- test_isReadable_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
- test_isReadable_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
- test_lastModified_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceExpiredTest
- test_lastModified_DoesNotTriggerFetch() - Method in class de.juplo.httpresources.HttpResourceNotExpiredTest
- test_lastModified_ReturnsExpectedTime() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
- test_lastModified_ReturnsExpectedTime() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
- test_lastModified_ReturnsExpectedTime() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
- test_lastModified_TriggersFetch() - Method in class de.juplo.httpresources.HttpResourceNotFetchedTest
- test_lastModified_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchNotFoundTest
- test_lastModified_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchServerErrorTest
- test_lastModified_UpdatesData() - Method in class de.juplo.httpresources.HttpResourceNotFetchedFirstFetchSuccessfulTest
- test_Update_200() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Update_304() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Update_404() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Update_404_ServeStale() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Update_500() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Update_500_MustRevalidate_ServeStale() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Update_Cached_Expired_RequestIsExecuted() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Update_Cached_Same_RequestIsExecuted() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Update_Cached_Valid() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Update_MustRevalidate_304() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Update_MustRevalidate_500() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- test_Update_ServerDown() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- testCaching() - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderIT
- testCaching() - Method in class de.juplo.httpresources.HttpResourcesIT
- testCachingOfExisting() - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderIT
- testCachingOfExisting() - Method in class de.juplo.httpresources.HttpResourceProtocolResolverIT
- testCachingOfModified() - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderIT
- testCachingOfNonExistent() - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderIT
- testCachingOfNonExistent() - Method in class de.juplo.httpresources.HttpResourceProtocolResolverIT
- testClasspathResource(ResourceLoader) - Method in class de.juplo.httpresources.HttpResourceProtocolResolverTest
- testController() - Method in class de.juplo.httpresources.ThymeleafWithHttpResourceProtocolResolverIT.Application
- TestController() - Constructor for class de.juplo.httpresources.ThymeleafWithHttpResourceProtocolResolverIT.TestController
- testConvertInvalid() - Method in class de.juplo.httpresources.HttpResourcesTest
- testConvertValid() - Method in class de.juplo.httpresources.HttpResourcesTest
- testCreateRelative(HttpResourceFetcher) - Method in class de.juplo.httpresources.HttpResourcesTest
-
This test only checks the integration of the used methods Detailed tests for
URI
-handling are implemented inHttpResourcesUriHandlingTest
. - testFetchEncoded() - Method in class de.juplo.httpresources.HttpResourcesIT
- testFetchExistent() - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderIT
- testFetchExistent() - Method in class de.juplo.httpresources.HttpResourceProtocolResolverIT
- testFetchExistent() - Method in class de.juplo.httpresources.HttpResourcesIT
- testFetchNonExistent() - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderIT
- testFetchNonExistent() - Method in class de.juplo.httpresources.HttpResourceProtocolResolverIT
- testFetchNonExistent() - Method in class de.juplo.httpresources.HttpResourcesIT
- testFetchServerResponse500() - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderIT
- testFetchServerResponse500() - Method in class de.juplo.httpresources.HttpResourcesIT
- testGetResource() - Method in class de.juplo.httpresources.HttpResourcesTest
- testHandlingOfLeadingSlashesInResourceNames(WebApplicationContext, Resource, Resource) - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderTest
- testHandlingOfTrailingSlashesInResourceLocations(WebApplicationContext, Resource, Resource) - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderTest
- testHostWithoutTrailingSlash() - Method in class de.juplo.httpresources.HttpResourcesTest
- testHttpResource(ResourceLoader, HttpResource) - Method in class de.juplo.httpresources.HttpResourceProtocolResolverTest
- testHttpsResource(ResourceLoader, HttpResource) - Method in class de.juplo.httpresources.HttpResourceProtocolResolverTest
- testModifiedResource() - Method in class de.juplo.httpresources.HttpResourceProtocolResolverIT
- testModifiedResource() - Method in class de.juplo.httpresources.HttpResourcesIT
- testModifiedResourceAccessOnly() - Method in class de.juplo.httpresources.HttpResourcesIT
- testRenderCachedRemoteTemplate() - Method in class de.juplo.httpresources.ThymeleafWithHttpResourceProtocolResolverIT
- testRenderLocalTemplate() - Method in class de.juplo.httpresources.ThymeleafWithHttpResourceProtocolResolverIT
- testRenderModifiedRemoteTemplate() - Method in class de.juplo.httpresources.ThymeleafWithHttpResourceProtocolResolverIT
- testRenderRemoteTemplate() - Method in class de.juplo.httpresources.ThymeleafWithHttpResourceProtocolResolverIT
- testResolveInvalid() - Method in class de.juplo.httpresources.HttpResourcesTest
-
Checks the resolving of normal examples, with enabled enforcment of a relative path.
- testResolveValid() - Method in class de.juplo.httpresources.HttpResourcesTest
-
Checks the resolving of normal examples, with enabled enforcment of a relative path.
- testResourceDoesNotExist(WebApplicationContext, Resource, Resource) - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderTest
- testResourceExistsForaLocation(WebApplicationContext, Resource, Resource) - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderTest
- testResourceExistsForSecondLocation(WebApplicationContext, Resource, Resource) - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderTest
- testResourceExistsForThirdLocation(WebApplicationContext, Resource, Resource) - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderTest
- testResourceHandling() - Method in class de.juplo.httpresources.HttpResourceChainAwareResourceLoaderIT
-
In contrast to
HttpResourceResolverIT
andHttpResourceProtocolResolverIT
it does not make sense to test through the web-layer here, because theHttpResourceChainAwareResourceLoader
is intended to mimic the look-upp through the source, that are configured for resource-chain for static http-resources for the look-up of local resources. - testResourceHandling() - Method in class de.juplo.httpresources.HttpResourceProtocolResolverIT
-
Olthough the is not enabled in this test-scenario, this works nearly, identically to the same test there, because all lookups for resources in the resource-chain for static http-resources are executed through the application-context, where the
HttpResourceProtocolResolver
is registerd. - testTransformation() - Method in class de.juplo.httpresources.VersionedResourcesIT
- TestUtil - Class in de.juplo.httpresources
- TestUtil() - Constructor for class de.juplo.httpresources.TestUtil
- ThymeleafWithHttpResourceProtocolResolverIT - Class in de.juplo.httpresources
-
This test-case showcases the usage of the
HttpResourceProtocolResolver
with Thymeleaf. - ThymeleafWithHttpResourceProtocolResolverIT() - Constructor for class de.juplo.httpresources.ThymeleafWithHttpResourceProtocolResolverIT
- ThymeleafWithHttpResourceProtocolResolverIT.Application - Class in de.juplo.httpresources
- ThymeleafWithHttpResourceProtocolResolverIT.TestController - Class in de.juplo.httpresources
- tick() - Method in class de.juplo.httpresources.IntegrationTestBase.ClockStub
- timetravel(Duration) - Method in class de.juplo.httpresources.IntegrationTestBase.ClockStub
V
- VersionedResourcesIT - Class in de.juplo.httpresources
- VersionedResourcesIT() - Constructor for class de.juplo.httpresources.VersionedResourcesIT
- VersionedResourcesIT.Application - Class in de.juplo.httpresources
- versionResourceResolver() - Method in class de.juplo.httpresources.VersionedResourcesIT.Application
W
- withConfiguration(String) - Method in class de.juplo.httpresources.ConfigurableNginxContainer
- withGlobalDirective(String, String) - Method in class de.juplo.httpresources.ConfigurableNginxContainer
-
Adds a global directive to the configuration-map.
- withServeStaleFalse() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- withServeStaleFalseAndMinTTL() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- withServeStaleTrue() - Method in class de.juplo.httpresources.HttpResourceFetcherTest
- withZone(ZoneId) - Method in class de.juplo.httpresources.IntegrationTestBase.ClockStub
All Classes All Packages