public class HttpResourceTemplate extends AbstractTestTemplate
builtTestFile, DEFAULT_IP, DEFAULT_PORT, focusLineAcceptor, HTTP, HTTPS, imports, WS, WSS
Constructor and Description |
---|
HttpResourceTemplate(String serviceUriStrName,
String basePath,
BLangFunction resource,
String httpEndpoint) |
Modifier and Type | Method and Description |
---|---|
void |
render(RendererOutput rendererOutput)
Renders content into this file template.
|
findServicePort, getSafeName, isNonExistImport, isSecureService, lowerCaseFirstLetter, upperCaseFirstLetter
public HttpResourceTemplate(String serviceUriStrName, String basePath, BLangFunction resource, String httpEndpoint)
public void render(RendererOutput rendererOutput) throws TestGeneratorException
rendererOutput
- root RendererOutput
TestGeneratorException
- when template population process failsCopyright © 2019 WSO2. All rights reserved.