|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ResponseFactory | |
---|---|
com.faunos.skwish.ext.http | An experimental read-only HTTP interface to skwish is provided here. |
com.faunos.util.net.http | A skeletal implementation of a simple non-blocking HTTP server. |
com.faunos.util.net.http.file | Support for serving files over HTTP. |
Uses of ResponseFactory in com.faunos.skwish.ext.http |
---|
Classes in com.faunos.skwish.ext.http that implement ResponseFactory | |
---|---|
class |
MappedSkwishResponseFactory
Packages a mapped skwish Provider with a skwish HTTP ResponseFactory. |
class |
SkwishResponseFactory
The skwish HTTP application. |
Uses of ResponseFactory in com.faunos.util.net.http |
---|
Classes in com.faunos.util.net.http that implement ResponseFactory | |
---|---|
class |
AbstractResponseFactory
A skeletal implementation of a ResponseFactory that honors the server's asynchHint. |
class |
ExceptionResponseFactory
A response factory that filters exceptions thrown by a contained ResponseFactory instance. |
class |
IdemResponseFactory
A pre-processing ResponseFactory filter that does not allow HTTP POST, PUT, or DELETE verbs and issues a standard 405 (Method Not Allowed) response. |
class |
NotFoundResponseFactory
A utility ResponseFactory that always returns 404 (Not Found). |
class |
ResponseFactorySwitch
A thread-safe, ResponseFactory configuration utility. |
class |
UnimplementedVerbResponseFactory
Stop-gap interface wrapper for currently unimplemented HTTP verbs. |
Fields in com.faunos.util.net.http declared as ResponseFactory | |
---|---|
protected ResponseFactory |
HttpServer.app
|
static ResponseFactory |
NotFoundResponseFactory.INSTANCE
Since the base class is stateless, a global instance is provided. |
Methods in com.faunos.util.net.http that return ResponseFactory | |
---|---|
ResponseFactory |
ResponseFactoryConfig.addMapping(String path,
ResponseFactory factory)
Adds the given URI path-to-factory mapping to the current mappings and returns the previous mapped factory, if any. |
ResponseFactory |
Caroon.addMapping(String path,
ResponseFactory factory)
|
ResponseFactory |
ResponseFactorySwitch.addMapping(String path,
ResponseFactory factory)
|
static ResponseFactory |
ResponseFactoryFilters.exceptionFilter(ResponseFactory factory)
|
ResponseFactory |
ResponseFactoryConfig.getMapping(String path)
Returns the ResponseFactory mapped to the specified path, or null, if nothing is mapped to that path. |
ResponseFactory |
Caroon.getMapping(String path)
|
ResponseFactory |
ResponseFactorySwitch.getMapping(String path)
|
static ResponseFactory |
ResponseFactoryFilters.idemVerbFilter(ResponseFactory factory)
|
ResponseFactory |
ResponseFactoryConfig.removeMapping(String path)
Removes the mapping for specified path and returns the old mapped ResponseFactory, if any; null otherwise. |
ResponseFactory |
Caroon.removeMapping(String path)
|
ResponseFactory |
ResponseFactorySwitch.removeMapping(String path)
|
static ResponseFactory |
ResponseFactoryFilters.stdIdemFilter(ResponseFactory factory)
Returns a facade to the given factory that handles exceptions thrown by the factory, does not allow the HTTP verbs POST, PUT, DELETE, and handles currently unimplemented verbs. |
static ResponseFactory |
ResponseFactoryFilters.unimplementedVerbFilter(ResponseFactory factory)
|
Methods in com.faunos.util.net.http that return types with arguments of type ResponseFactory | |
---|---|
SortedMap<String,ResponseFactory> |
ResponseFactoryConfig.getMappings()
Returns a read-only snapshot of the current path-to-factory mappings. |
SortedMap<String,ResponseFactory> |
Caroon.getMappings()
|
SortedMap<String,ResponseFactory> |
ResponseFactorySwitch.getMappings()
|
Methods in com.faunos.util.net.http with parameters of type ResponseFactory | |
---|---|
ResponseFactory |
ResponseFactoryConfig.addMapping(String path,
ResponseFactory factory)
Adds the given URI path-to-factory mapping to the current mappings and returns the previous mapped factory, if any. |
ResponseFactory |
Caroon.addMapping(String path,
ResponseFactory factory)
|
ResponseFactory |
ResponseFactorySwitch.addMapping(String path,
ResponseFactory factory)
|
static ResponseFactory |
ResponseFactoryFilters.exceptionFilter(ResponseFactory factory)
|
static ResponseFactory |
ResponseFactoryFilters.idemVerbFilter(ResponseFactory factory)
|
static ResponseFactory |
ResponseFactoryFilters.stdIdemFilter(ResponseFactory factory)
Returns a facade to the given factory that handles exceptions thrown by the factory, does not allow the HTTP verbs POST, PUT, DELETE, and handles currently unimplemented verbs. |
static ResponseFactory |
ResponseFactoryFilters.unimplementedVerbFilter(ResponseFactory factory)
|
Method parameters in com.faunos.util.net.http with type arguments of type ResponseFactory | |
---|---|
void |
ResponseFactoryConfig.addMappings(Map<String,ResponseFactory> mappings)
Adds the given URI path-to-factory mappings to the current mappings. |
void |
Caroon.addMappings(Map<String,ResponseFactory> mappings)
|
void |
ResponseFactorySwitch.addMappings(Map<String,ResponseFactory> mappings)
|
void |
ResponseFactoryConfig.setMappings(Map<String,ResponseFactory> mappings)
Sets the URI path-to-factory mappings. |
void |
Caroon.setMappings(Map<String,ResponseFactory> mappings)
|
void |
ResponseFactorySwitch.setMappings(Map<String,ResponseFactory> mappings)
|
Constructors in com.faunos.util.net.http with parameters of type ResponseFactory | |
---|---|
DebugHttpServer(ResponseFactory app,
InetAddress host,
int port,
ExecutorService exec)
Invokes the super class's constructor. |
|
DebugHttpServer(ResponseFactory app,
InetAddress host,
int port,
ExecutorService exec,
Logger logger)
Invokes the super class's constructor. |
|
ExceptionResponseFactory(ResponseFactory inner)
Constructs an instance that wraps the given inner instance. |
|
HttpHandlet(ResponseFactory responseFactory)
|
|
HttpServer(ResponseFactory app,
InetAddress host,
int port,
ExecutorService exec)
Constructs an application-specific instance. |
|
HttpServer(ResponseFactory app,
InetAddress host,
int port,
ExecutorService exec,
Logger logger)
Constructs an application-specific instance. |
|
IdemResponseFactory(ResponseFactory inner)
|
|
RequestStage(StageletStack stack,
ResponseFactory responseFactory)
|
|
RequestStage(StageletStack stack,
ResponseFactory responseFactory,
long maxHeaderSize)
|
|
UnimplementedVerbResponseFactory(ResponseFactory inner)
Creates an instance that wraps the given inner instance. |
Uses of ResponseFactory in com.faunos.util.net.http.file |
---|
Classes in com.faunos.util.net.http.file that implement ResponseFactory | |
---|---|
class |
FileResponseFactory
A ResponseFactory for serving ordinary files. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |