Index

A B C E G H I N P R S T U W 
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 TestRule asynchronously.
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 the Server is 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 BlockingWebClient configured by ServerRule.configureWebClient(WebClientBuilder).
blockingWebClient(Consumer<WebClientBuilder>) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Returns a newly created BlockingWebClient configured by ServerRule.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 Server with the given ServerBuilder.
configureWebClient(WebClientBuilder) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Configures the WebClient with the given WebClientBuilder.

E

endpoint(SessionProtocol) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Returns the Endpoint of the specified SessionProtocol for the Server.
EventLoopGroupRule - Class in com.linecorp.armeria.testing.junit4.common
A TestRule that provides an EventLoopGroup.
EventLoopGroupRule(int) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopGroupRule
Creates a new TestRule that provides an EventLoopGroup.
EventLoopGroupRule(int, boolean) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopGroupRule
Creates a new TestRule that provides an EventLoopGroup.
EventLoopGroupRule(int, String) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopGroupRule
Creates a new TestRule that provides an EventLoopGroup.
EventLoopGroupRule(int, String, boolean) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopGroupRule
Creates a new TestRule that provides an EventLoopGroup.
EventLoopGroupRule(int, ThreadFactory) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopGroupRule
Creates a new TestRule that provides an EventLoopGroup.
EventLoopRule - Class in com.linecorp.armeria.testing.junit4.common
A TestRule that provides an EventLoopGroup.
EventLoopRule() - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopRule
Creates a new TestRule that provides an EventLoop.
EventLoopRule(boolean) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopRule
Creates a new TestRule that provides an EventLoop.
EventLoopRule(String) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopRule
Creates a new TestRule that provides an EventLoop.
EventLoopRule(String, boolean) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopRule
Creates a new TestRule that provides an EventLoop.
EventLoopRule(ThreadFactory) - Constructor for class com.linecorp.armeria.testing.junit4.common.EventLoopRule
Creates a new TestRule that provides an EventLoop.

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 true if the Server is started and it has an HTTP port open.
hasHttps() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Returns true if the Server is started and it has an HTTPS port open.
httpEndpoint() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Returns the HTTP Endpoint for the Server.
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 Endpoint for the Server.
httpSocketAddress() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Returns the HTTP InetSocketAddress of the Server.
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 InetSocketAddress of the Server.
httpsUri() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Returns the HTTPS URI for the Server.
httpsUri(SerializationFormat) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Returns the HTTPS URI for the Server.
httpUri() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Returns the HTTP URI for the Server.
httpUri(SerializationFormat) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Returns the HTTP URI for the Server.

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 predicate filter.

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 Server for the specified SessionProtocol.
privateKey() - Method in class com.linecorp.armeria.testing.junit4.server.SelfSignedCertificateRule
Returns the PrivateKey of 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 RestClient configured by ServerRule.configureWebClient(WebClientBuilder).
restClient(Consumer<WebClientBuilder>) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Returns a newly created RestClient configured by ServerRule.configureWebClient(WebClientBuilder) and then the specified customizer.

S

SelfSignedCertificateRule - Class in com.linecorp.armeria.testing.junit4.server
A TestRule that 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 TestRule that allows easy set-up and tear-down of a Server.
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
Returns the InetSocketAddress of the specified SessionProtocol for the Server.
start() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Starts the Server configured by ServerRule.configure(ServerBuilder).
stop() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Stops the Server asynchronously.

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
Returns the URI for the Server of the specified SessionProtocol.
uri(SessionProtocol, SerializationFormat) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Returns the URI for the Server of the specified SessionProtocol and SerializationFormat.

W

webClient() - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Returns the WebClient configured by ServerRule.configureWebClient(WebClientBuilder).
webClient(Consumer<WebClientBuilder>) - Method in class com.linecorp.armeria.testing.junit4.server.ServerRule
Returna a newly created WebClient configured by ServerRule.configureWebClient(WebClientBuilder) and then the specified customizer.
A B C E G H I N P R S T U W 
All Classes and Interfaces|All Packages