public abstract class HttpRequestFilter extends HttpFilter<io.netty.handler.codec.http.HttpRequest>
Lifecycle.SingleUse| 限定符和类型 | 字段和说明 |
|---|---|
protected org.slf4j.Logger |
logger |
logAFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT| 构造器和说明 |
|---|
HttpRequestFilter() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
hackLog(org.slf4j.Logger logger,
String realIp,
String type,
String cause)
记录hack日志。
|
boolean |
isBlacklist()
是否是黑名单。
|
void |
startingLifecycle(Lifecycle lifecycle)
加入调用链。
|
void |
stoppingfecycle(Lifecycle lifecycle)
从调用链去除。
|
doFilter, getProxyConfigRepository, getProxyEntity, setProxyConfigRepository, setProxyEntitybeforeStartingLifecycle, beforeStoppingLifecycle, destroy, destroyedLifecycle, destroyingLifecycle, destroyInternal, failedLifecycle, init, initializedLifecycle, initializingLifecycle, initInternal, newLifecycle, startedLifecycle, stoppedLifecyclefailedInternal, startedInternal, startInternal, stopInternal, stoppedInternaladdLifecycleListener, destroyLifecycle, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, initLifecycle, lifecycleListeners, removeLifecycleListener, setState, setState, startLifecycle, stopLifecycle, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonChangelifecycleEventpublic void startingLifecycle(Lifecycle lifecycle)
startingLifecycle 在接口中 StateLifecycleListenerstartingLifecycle 在类中 ProxyFilter<io.netty.handler.codec.http.HttpRequest,HttpProxyEntity,HttpFilterMessage,io.netty.handler.codec.http.HttpObject>lifecycle - Lifecycle对象public void stoppingfecycle(Lifecycle lifecycle)
stoppingfecycle 在接口中 StateLifecycleListenerstoppingfecycle 在类中 ManagedComponentlifecycle - Lifecycle对象public boolean isBlacklist()
Copyright © 2022 Zodiac. All rights reserved.