APISonar


org.glassfish.jersey.message.internal.TracingLogger.log

> org > glassfish > jersey > message > internal > TracingLogger > log
org APIs glassfish APIs jersey APIs message APIs internal APIs TracingLogger APIs log APIs

Example 1
private final TracingLogger tracingLogger;

    public void pushMatchedResource(final Object resource) {
        tracingLogger.log(ServerTraceEvent.MATCH_RESOURCE, resource);
        matchedResources.push(resource);
    }
Example 2
private final TracingLogger tracingLogger;

    public void pushMatchedLocator(final ResourceMethod resourceLocator) {
        tracingLogger.log(ServerTraceEvent.MATCH_LOCATOR, resourceLocator.getInvocable().getHandlingMethod());
        matchedLocators.push(resourceLocator);
    }
Example 3
private final TracingLogger tracingLogger;

    public void setMatchedResourceMethod(final ResourceMethod resourceMethod) {
        tracingLogger.log(ServerTraceEvent.MATCH_RESOURCE_METHOD, resourceMethod.getInvocable().getHandlingMethod());
        this.matchedResourceMethod = resourceMethod;
    }
Example 4
private final TracingLogger tracingLogger;

    public void pushMatchedRuntimeResource(final RuntimeResource runtimeResource) {
        if (tracingLogger.isLogEnabled(ServerTraceEvent.MATCH_RUNTIME_RESOURCE)) {
            tracingLogger.log(ServerTraceEvent.MATCH_RUNTIME_RESOURCE,
                    runtimeResource.getResources().get(0).getPath(),
                    runtimeResource.getResources().get(0).getPathPattern().getRegex(),
                    matchResults.peek().group()
                            .substring(0, matchResults.peek().group().length() - getFinalMatchingGroup().length()),
                    matchResults.peek().group());
        }

        this.matchedRuntimeResources.push(runtimeResource);
    }