public class HttpJsonDefinition extends Object
Modifier and Type | Method and Description |
---|---|
protected static void |
addToElement(List<org.waarp.gateway.kernel.HttpJsonDefinition.ConfigHttpPage> pages,
HttpPage page) |
protected static void |
addToField(List<org.waarp.gateway.kernel.HttpJsonDefinition.ConfigHttpField> fields,
AbstractHttpField field) |
static void |
exportConfiguration(HttpPageHandler httpPageHandler,
String filename) |
protected static HttpPage |
loadHttpConfiguration(org.waarp.gateway.kernel.HttpJsonDefinition.ConfigHttpPage cpage) |
protected static AbstractHttpField |
loadHttpPage(org.waarp.gateway.kernel.HttpJsonDefinition.ConfigHttpField fieldValue) |
static HttpPageHandler |
setConfigurationHttpServerFromJson(String filename)
Initiate the configuration from the json file for Http server
|
protected static AbstractHttpField loadHttpPage(org.waarp.gateway.kernel.HttpJsonDefinition.ConfigHttpField fieldValue) throws InvalidArgumentException
InvalidArgumentException
protected static HttpPage loadHttpConfiguration(org.waarp.gateway.kernel.HttpJsonDefinition.ConfigHttpPage cpage) throws InvalidArgumentException, ClassNotFoundException, InstantiationException, IllegalAccessException
public static HttpPageHandler setConfigurationHttpServerFromJson(String filename) throws InvalidArgumentException, ClassNotFoundException, InstantiationException, IllegalAccessException
filename
- InvalidArgumentException
ClassNotFoundException
IllegalAccessException
InstantiationException
protected static void addToField(List<org.waarp.gateway.kernel.HttpJsonDefinition.ConfigHttpField> fields, AbstractHttpField field)
protected static void addToElement(List<org.waarp.gateway.kernel.HttpJsonDefinition.ConfigHttpPage> pages, HttpPage page)
public static void exportConfiguration(HttpPageHandler httpPageHandler, String filename) throws HttpIncorrectRequestException
HttpIncorrectRequestException
Copyright © 2009–2020 Waarp. All rights reserved.