public abstract class HttpBusinessFactory extends Object
Modifier and Type | Field and Description |
---|---|
static io.netty.handler.codec.http.multipart.HttpDataFactory |
factory |
static String |
TempPath |
Constructor and Description |
---|
HttpBusinessFactory() |
Modifier and Type | Method and Description |
---|---|
static boolean |
addDefaultErrorPages(HttpPageHandler pages,
String title,
Class<?> clasz) |
abstract AbstractHttpBusinessRequest |
getNewHttpBusinessRequest(SocketAddress remoteAddress,
Map<String,AbstractHttpField> fields,
HttpPage page)
It returns the AbstractHttpBusinessRequest to use during a new request.
|
static void |
initialize(String tempPath)
Initialize the Disk support
|
public static final io.netty.handler.codec.http.multipart.HttpDataFactory factory
public static String TempPath
public static void initialize(String tempPath)
public abstract AbstractHttpBusinessRequest getNewHttpBusinessRequest(SocketAddress remoteAddress, Map<String,AbstractHttpField> fields, HttpPage page)
Note that fields given in parameter should be updated according to their values if needed.
remoteAddress
- the remote SocketAddress in usefields
- the fields linked hashmap (to preserver order) to
set for
the new requestpage
- source HttpPagepublic static boolean addDefaultErrorPages(HttpPageHandler pages, String title, Class<?> clasz)
pages
- title
- clasz
- Copyright © 2009–2020 Waarp. All rights reserved.