Index
All Classes and Interfaces|All Packages
A
- after() - Method in class com.linecorp.armeria.testing.junit4.common.EventLoopGroupRule
-
Shuts down all threads created by this
TestRuleasynchronously. - after() - Method in class com.linecorp.armeria.testing.junit4.server.SelfSignedCertificateRule
-
Deletes the generated self-signed certificate.
- after() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Calls
ServerRule.stop(), without waiting until theServeris stopped completely.
B
- before() - Method in class com.linecorp.armeria.testing.junit4.common.EventLoopGroupRule
- before() - Method in class com.linecorp.armeria.testing.junit4.server.SelfSignedCertificateRule
-
Generates a self-signed certificate.
- before() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Calls
ServerRule.start()if auto-start is enabled. - blockingWebClient() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the
BlockingWebClientconfigured byServerRule.configureWebClient(WebClientBuilder). - blockingWebClient(Consumer<WebClientBuilder>) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns a newly created
BlockingWebClientconfigured byServerRule.configureWebClient(WebClientBuilder)and then the specified customizer.
C
- certificate() - Method in class com.linecorp.armeria.testing.junit4.server.SelfSignedCertificateRule
-
Returns the generated self-signed
X509Certificate. - certificateFile() - Method in class com.linecorp.armeria.testing.junit4.server.SelfSignedCertificateRule
-
Returns the self-signed certificate file.
- clear() - Method in class com.linecorp.armeria.testing.server.ServiceRequestContextCaptor
-
Clears the captured
ServiceRequestContexts. - com.linecorp.armeria.testing.junit4.common - package com.linecorp.armeria.testing.junit4.common
-
Common testing utilities.
- com.linecorp.armeria.testing.junit4.server - package com.linecorp.armeria.testing.junit4.server
-
Server-side testing utilities.
- com.linecorp.armeria.testing.server - package com.linecorp.armeria.testing.server
- configure(ServerBuilder) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Configures the
Serverwith the givenServerBuilder. - configureWebClient(WebClientBuilder) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Configures the
WebClientwith the givenWebClientBuilder.
E
- endpoint(SessionProtocol) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the
Endpointof the specifiedSessionProtocolfor theServer. - EventLoopGroupRule - Class in com.linecorp.armeria.testing.junit4.common
-
A
TestRulethat provides anEventLoopGroup. - EventLoopGroupRule(int) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopGroupRule
-
Creates a new
TestRulethat provides anEventLoopGroup. - EventLoopGroupRule(int, boolean) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopGroupRule
-
Creates a new
TestRulethat provides anEventLoopGroup. - EventLoopGroupRule(int, String) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopGroupRule
-
Creates a new
TestRulethat provides anEventLoopGroup. - EventLoopGroupRule(int, String, boolean) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopGroupRule
-
Creates a new
TestRulethat provides anEventLoopGroup. - EventLoopGroupRule(int, ThreadFactory) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopGroupRule
-
Creates a new
TestRulethat provides anEventLoopGroup. - EventLoopRule - Class in com.linecorp.armeria.testing.junit4.common
-
A
TestRulethat provides anEventLoopGroup. - EventLoopRule() - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopRule
- EventLoopRule(boolean) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopRule
- EventLoopRule(String) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopRule
- EventLoopRule(String, boolean) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopRule
- EventLoopRule(ThreadFactory) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopRule
G
- get() - Method in class com.linecorp.armeria.testing.junit4.common.EventLoopGroupRule
-
Returns the
EventLoopGroup. - get() - Method in class com.linecorp.armeria.testing.junit4.common.EventLoopRule
-
Returns the
EventLoop.
H
- hasHttp() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns
trueif theServeris started and it has an HTTP port open. - hasHttps() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns
trueif theServeris started and it has an HTTPS port open. - httpEndpoint() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the HTTP
Endpointfor theServer. - httpPort() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the HTTP port number of the
Server. - httpsEndpoint() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the HTTPS
Endpointfor theServer. - httpSocketAddress() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the HTTP
InetSocketAddressof theServer. - httpsPort() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the HTTPS port number of the
Server. - httpsSocketAddress() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the HTTPS
InetSocketAddressof theServer. - httpsUri() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the HTTPS
URIfor theServer. - httpsUri(SerializationFormat) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the HTTPS
URIfor theServer. - httpUri() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the HTTP
URIfor theServer. - httpUri(SerializationFormat) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the HTTP
URIfor theServer.
I
- isEmpty() - Method in class com.linecorp.armeria.testing.server.ServiceRequestContextCaptor
-
Returns whether there is any captured
ServiceRequestContext.
N
- newDecorator() - Method in class com.linecorp.armeria.testing.server.ServiceRequestContextCaptor
-
Creates a new decorator to capture the
ServiceRequestContexts. - newDecorator(Predicate<? super ServiceRequestContext>) - Method in class com.linecorp.armeria.testing.server.ServiceRequestContextCaptor
-
Creates a new decorator to capture the
ServiceRequestContexts satisfying the given predicatefilter.
P
- poll() - Method in class com.linecorp.armeria.testing.server.ServiceRequestContextCaptor
-
Retrieves and removes the first captured
ServiceRequestContext, waiting up to 15 seconds if necessary until an element becomes available. - poll(long, TimeUnit) - Method in class com.linecorp.armeria.testing.server.ServiceRequestContextCaptor
-
Retrieves and removes the first captured
ServiceRequestContext, waiting up to the specified wait time if necessary until an element becomes available. - port(SessionProtocol) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the port number of the
Serverfor the specifiedSessionProtocol. - privateKey() - Method in class com.linecorp.armeria.testing.junit4.server.SelfSignedCertificateRule
-
Returns the
PrivateKeyof the self-signed certificate. - privateKeyFile() - Method in class com.linecorp.armeria.testing.junit4.server.SelfSignedCertificateRule
-
Returns the private key file of the self-signed certificate.
R
- restClient() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the
RestClientconfigured byServerRule.configureWebClient(WebClientBuilder). - restClient(Consumer<WebClientBuilder>) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns a newly created
RestClientconfigured byServerRule.configureWebClient(WebClientBuilder)and then the specified customizer.
S
- SelfSignedCertificateRule - Class in com.linecorp.armeria.testing.junit4.server
-
A
TestRulethat provides a temporary self-signed certificate. - SelfSignedCertificateRule() - Constructor for class com.linecorp.armeria.testing.junit4.server.SelfSignedCertificateRule
-
Creates a new instance.
- SelfSignedCertificateRule(String) - Constructor for class com.linecorp.armeria.testing.junit4.server.SelfSignedCertificateRule
-
Creates a new instance.
- SelfSignedCertificateRule(String, SecureRandom, int) - Constructor for class com.linecorp.armeria.testing.junit4.server.SelfSignedCertificateRule
-
Creates a new instance.
- SelfSignedCertificateRule(String, SecureRandom, int, TemporalAccessor, TemporalAccessor) - Constructor for class com.linecorp.armeria.testing.junit4.server.SelfSignedCertificateRule
-
Creates a new instance.
- SelfSignedCertificateRule(String, TemporalAccessor, TemporalAccessor) - Constructor for class com.linecorp.armeria.testing.junit4.server.SelfSignedCertificateRule
-
Creates a new instance.
- SelfSignedCertificateRule(TemporalAccessor, TemporalAccessor) - Constructor for class com.linecorp.armeria.testing.junit4.server.SelfSignedCertificateRule
-
Creates a new instance.
- server() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the started
Server. - ServerRule - Class in com.linecorp.armeria.testing.junit4.server
-
A
TestRulethat allows easy set-up and tear-down of aServer. - ServerRule() - Constructor for class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Creates a new instance with auto-start enabled.
- ServerRule(boolean) - Constructor for class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Creates a new instance.
- ServiceRequestContextCaptor - Class in com.linecorp.armeria.testing.server
-
Captures the
ServiceRequestContexts. - ServiceRequestContextCaptor() - Constructor for class com.linecorp.armeria.testing.server.ServiceRequestContextCaptor
- size() - Method in class com.linecorp.armeria.testing.server.ServiceRequestContextCaptor
-
Returns the number of captured
ServiceRequestContexts. - socketAddress(SessionProtocol) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
- start() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Starts the
Serverconfigured byServerRule.configure(ServerBuilder). - stop() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Stops the
Serverasynchronously.
T
- take() - Method in class com.linecorp.armeria.testing.server.ServiceRequestContextCaptor
-
Retrieves and removes the first captured
ServiceRequestContext, waiting if necessary until an element becomes available.
U
- uri(SessionProtocol) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
- uri(SessionProtocol, SerializationFormat) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
W
- webClient() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returns the
WebClientconfigured byServerRule.configureWebClient(WebClientBuilder). - webClient(Consumer<WebClientBuilder>) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
-
Returna a newly created
WebClientconfigured byServerRule.configureWebClient(WebClientBuilder)and then the specified customizer.
All Classes and Interfaces|All Packages