public class ApiDispatchConfig extends Object
Constructor and Description |
---|
ApiDispatchConfig(String uriPattern) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
ApiListener |
getApiListener(ApiListener.HttpMethod method) |
Set<ApiListener.HttpMethod> |
getMethods() |
String |
getUriPattern() |
boolean |
hasMethod(ApiListener.HttpMethod method) |
void |
register(ApiListener.HttpMethod method,
ApiListener listener) |
void |
remove(ApiListener.HttpMethod method) |
String |
toString() |
public ApiDispatchConfig(String uriPattern)
public void register(ApiListener.HttpMethod method, ApiListener listener) throws ListenerException
ListenerException
public ApiListener getApiListener(ApiListener.HttpMethod method)
public void remove(ApiListener.HttpMethod method)
public Set<ApiListener.HttpMethod> getMethods()
public void clear()
public boolean hasMethod(ApiListener.HttpMethod method)
public String getUriPattern()
Copyright © 2023 Frank!Framework. All rights reserved.