public abstract class JerseyFilter extends HttpFilter<io.netty.handler.codec.http.HttpRequest>
Lifecycle.SingleUselogAFTER_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| 构造器和说明 |
|---|
JerseyFilter() |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpFilterMessage |
doFilter(io.netty.handler.codec.http.HttpRequest httpMessage,
io.netty.handler.codec.http.HttpObject httpObject)
拦截逻辑。
|
void |
startingLifecycle(Lifecycle lifecycle)
构造函数并加入调用链。
|
getProxyConfigRepository, getProxyEntity, setProxyConfigRepository, setProxyEntitybeforeStartingLifecycle, beforeStoppingLifecycle, destroy, destroyedLifecycle, destroyingLifecycle, destroyInternal, failedLifecycle, init, initializedLifecycle, initializingLifecycle, initInternal, newLifecycle, startedLifecycle, stoppedLifecycle, stoppingfecyclefailedInternal, 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 HttpFilterMessage doFilter(io.netty.handler.codec.http.HttpRequest httpMessage, io.netty.handler.codec.http.HttpObject httpObject)
ProxyFilterdoFilter 在类中 ProxyFilter<io.netty.handler.codec.http.HttpRequest,HttpProxyEntity,HttpFilterMessage,io.netty.handler.codec.http.HttpObject>httpMessage - proxy messagehttpObject - proxy requestpublic void startingLifecycle(Lifecycle lifecycle)
startingLifecycle 在接口中 StateLifecycleListenerstartingLifecycle 在类中 ProxyFilter<io.netty.handler.codec.http.HttpRequest,HttpProxyEntity,HttpFilterMessage,io.netty.handler.codec.http.HttpObject>Copyright © 2022 Zodiac. All rights reserved.