org.jboss.resteasy.core.ResourceInvoker Java Examples

The following examples show how to use org.jboss.resteasy.core.ResourceInvoker. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SofaResourceMethodRegistry.java    From sofa-rpc with Apache License 2.0 4 votes vote down vote up
@Override
public ResourceInvoker getResourceInvoker(HttpRequest request) {
    // 多应用下改造点
    return super.getResourceInvoker(request);
}
 
Example #2
Source File: SofaSynchronousDispatcher.java    From sofa-rpc with Apache License 2.0 4 votes vote down vote up
@Override
public void invoke(HttpRequest request, HttpResponse response, ResourceInvoker invoker) {
    // 可以执行一下逻辑,例如切换ClassLoader等
    super.invoke(request, response, invoker);
}