public interface ResponseResolver
response creator, as well.
Implementors would want to extend AbstractResponseResolver instead of using the interface directly.| Modifier and Type | Method and Description |
|---|---|
HTTPResponse |
resolve(HTTPRequest request)
Resolves the given request into a response.
|
void |
shutdown() |
HTTPResponse resolve(HTTPRequest request) throws IOException
request - the request to resolve.IOException - if an IOException occurs e.g: java.net.ConnectException.void shutdown()
Copyright © 2008-2013. All Rights Reserved.