A C D E F G N P R S T W
A
- availableResponses() - Method in interface net.joala.net.PreparedResponsesHttpHandler
-
Get the number of available responses.
C
- clearResponses() - Method in interface net.joala.net.PreparedResponsesHttpHandler
-
Clear possibly remaining responses.
D
- delay(long, Response) - Static method in class net.joala.net.DelayedResponse
-
Factory method to create a delayed response.
- DelayedResponse - Class in net.joala.net
-
Send the given response but with some delay.
- DelayedResponse(long, Response) - Constructor for class net.joala.net.DelayedResponse
-
Constructor specifying the delay and the response to send.
E
- EmbeddedWebservice - Class in net.joala.net
-
An webservice meant to be used in tests to simulate a HTTP Server.
- EmbeddedWebservice() - Constructor for class net.joala.net.EmbeddedWebservice
-
Creates a webservice responding to a random free port on root context.
- EmbeddedWebservice(String) - Constructor for class net.joala.net.EmbeddedWebservice
-
Creates a webservice responding to a random free port on specified context.
- EmbeddedWebservice(String, int) - Constructor for class net.joala.net.EmbeddedWebservice
-
Creates a webservice responding to given port on specified context.
F
- feedResponses(Response...) - Method in interface net.joala.net.PreparedResponsesHttpHandler
-
Feed responses.
- freePort() - Static method in class net.joala.net.PortUtils
-
Retrieve a free port on the current system.
G
- getClientUri() - Method in class net.joala.net.EmbeddedWebservice
-
Get the URI which where to send requests to, to reach this service.
- getHttpHandler() - Method in class net.joala.net.EmbeddedWebservice
-
Get handler to control response flow.
N
- net.joala.net - package net.joala.net
-
Labs features for dealing with HTTP Servers and such.
P
- PortUtils - Class in net.joala.net
-
Utility methods to deal with ports.
- PreparedResponsesHttpHandler - Interface in net.joala.net
-
HttpHandler which can be fed with prepared responses.
R
- Response - Interface in net.joala.net
-
A response provided by a PreparedResponsesHttpHandlerImpl.
S
- start() - Method in class net.joala.net.EmbeddedWebservice
-
Start the webservice.
- statusCode(int) - Static method in class net.joala.net.StatusCodeResponse
-
Factory for status code response.
- StatusCodeResponse - Class in net.joala.net
-
A prepared response which just serves a status code and empty response body.
- StatusCodeResponse(int) - Constructor for class net.joala.net.StatusCodeResponse
-
Constructor defining the status code to return.
- stop() - Method in class net.joala.net.EmbeddedWebservice
-
Stop the webservice.
T
- toString() - Method in class net.joala.net.DelayedResponse
-
- toString() - Method in class net.joala.net.EmbeddedWebservice
-
W
- write(HttpExchange) - Method in class net.joala.net.DelayedResponse
-
- write(HttpExchange) - Method in interface net.joala.net.Response
-
Write a response to the given request.
- write(HttpExchange) - Method in class net.joala.net.StatusCodeResponse
-
A C D E F G N P R S T W
Copyright © 2011-2013 CoreMedia AG. All Rights Reserved.