Getting started Community Training Tutorials Documentation APIs, AI & Tools
@EmitsResponse
public class HttpListener extends Source<InputStream, HttpRequestAttributes> {
@Config
private HttpListenerConfig config;
@Parameter
@Optional(defaultValue = "/")
private String path;
@Parameter
private Integer port;
/**
* Comma separated list of allowed HTTP methods by this listener.
*/
@Parameter
@Optional
@Placement(tab = Placement.ADVANCED_TAB)
@Summary("Comma separated list of methods. Leave empty to allow all.")
@Example("GET, POST")
private String allowedMethods;
}



