Errors might be encountered when migrating APIs because
some API names are duplicated. To ensure that APIs are migrated, perform
the following changes:
Procedure
Change Settings.reset(iniFile) to InitManager.reset(iniFile)
Use Context ctx=(Context)ContextFactory.createContext(name,
false) to create context, where False refers
to local context.
Change (HttpServletRequest)channelContext.getChannelRequest() to (HttpServletRequest)channelContext.getChannelRequest().getRequest().
Change (HttpServletResponse)channelContext.getChannelResponse() to (HttpServletResponse)channelContext.
getChannelResponse().getResponse().
Change Context.getRoot() to ContextFactory.getRoot().
Change formatter.unformat(Label13Value,Operation) to formatter.unformat(Label13Value,Context).
Change Formatter.format(Operation) to Formatter.format(Context).
In the HtmlRequestHandler, change return type to Object in public
ServerOperation executeRequest(ChannelContext channelContext).