{"payload":{"allShortcutsEnabled":false,"fileTree":{"common/src/main/java/hello":{"items":[{"name":"AuditService.java","path":"common/src/main/java/hello/AuditService.java","contentType":"file"},{"name":"CorrelationIdFilter.java","path":"common/src/main/java/hello/CorrelationIdFilter.java","contentType":"file"},{"name":"CorrelationIdInterceptor.java","path":"common/src/main/java/hello/CorrelationIdInterceptor.java","contentType":"file"},{"name":"FeignHeadersInterceptor.java","path":"common/src/main/java/hello/FeignHeadersInterceptor.java","contentType":"file"},{"name":"Greeting.java","path":"common/src/main/java/hello/Greeting.java","contentType":"file"},{"name":"Heartbeat.java","path":"common/src/main/java/hello/Heartbeat.java","contentType":"file"},{"name":"HeartbeatController.java","path":"common/src/main/java/hello/HeartbeatController.java","contentType":"file"},{"name":"In.java","path":"common/src/main/java/hello/In.java","contentType":"file"},{"name":"SwaggerConfiguration.java","path":"common/src/main/java/hello/SwaggerConfiguration.java","contentType":"file"},{"name":"SwaggerRedirect.java","path":"common/src/main/java/hello/SwaggerRedirect.java","contentType":"file"}],"totalCount":10},"common/src/main/java":{"items":[{"name":"hello","path":"common/src/main/java/hello","contentType":"directory"}],"totalCount":1},"common/src/main":{"items":[{"name":"java","path":"common/src/main/java","contentType":"directory"}],"totalCount":1},"common/src":{"items":[{"name":"main","path":"common/src/main","contentType":"directory"},{"name":"test","path":"common/src/test","contentType":"directory"}],"totalCount":2},"common":{"items":[{"name":"src","path":"common/src","contentType":"directory"},{"name":"pom.xml","path":"common/pom.xml","contentType":"file"}],"totalCount":2},"":{"items":[{"name":".mvn","path":".mvn","contentType":"directory"},{"name":"common","path":"common","contentType":"directory"},{"name":"config","path":"config","contentType":"directory"},{"name":"local","path":"local","contentType":"directory"},{"name":"remote","path":"remote","contentType":"directory"},{"name":".gitattributes","path":".gitattributes","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"LICENSE.txt","path":"LICENSE.txt","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"pom.xml","path":"pom.xml","contentType":"file"}],"totalCount":10}},"fileTreeProcessingTime":31.508463,"foldersToFetch":[],"repo":{"id":35694620,"defaultBranch":"master","name":"simple-boot","ownerLogin":"binkley","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2015-05-15T20:17:52.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/186421?v=4","public":true,"private":false,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"13","listCacheKey":"v0:1441392493.0","canEdit":false,"refType":"tag","currentOid":"aaf9780a8c2e473010155945073ee37813b25677"},"path":"common/src/main/java/hello/CorrelationIdFilter.java","currentUser":null,"blob":{"rawLines":["package hello;","","import lombok.Setter;","import org.hibernate.validator.constraints.NotEmpty;","import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;","import org.springframework.boot.context.properties.ConfigurationProperties;","import org.springframework.stereotype.Component;","import org.springframework.util.AntPathMatcher;","import org.springframework.util.PathMatcher;","import org.springframework.web.filter.OncePerRequestFilter;","","import javax.servlet.FilterChain;","import javax.servlet.ServletException;","import javax.servlet.http.HttpServletRequest;","import javax.servlet.http.HttpServletResponse;","import java.io.IOException;","import java.util.List;","import java.util.SortedSet;","import java.util.TreeSet;","","import static java.lang.String.format;","import static java.net.InetAddress.getByName;","import static java.util.Collections.list;","import static javax.servlet.http.HttpServletResponse.SC_BAD_REQUEST;","","/**"," * {@code XCorrelationIdFilter} needs documentation."," *"," * @author Brian Oxley"," * @todo Needs documentation"," */","@Component","@ConditionalOnProperty(\"headers.correlation-id.server.paths\")","@ConfigurationProperties(prefix = \"headers.correlation-id.server\")","public class CorrelationIdFilter"," extends OncePerRequestFilter {"," public static final int WC_CORRELATION_ID = 250;",""," private static final PathMatcher matcher = new AntPathMatcher();",""," @NotEmpty"," @Setter"," @SuppressWarnings(\"MismatchedQueryAndUpdateOfCollection\")"," private List paths;",""," @Override"," protected void doFilterInternal(final HttpServletRequest request,"," final HttpServletResponse response, final FilterChain filterChain)"," throws ServletException, IOException {"," final String uri = request.getRequestURI();"," if (!paths.stream()."," anyMatch(path -> matcher.match(path, uri))) {"," filterChain.doFilter(request, response);"," return;"," }",""," // Use set to ignore duplicate identical headers"," final SortedSet headers = new TreeSet<>("," list(request.getHeaders(\"X-Correlation-ID\")));"," switch (headers.size()) {"," case 1:"," accept(request, response, filterChain, headers.first());"," return;"," case 0:"," reject(request, response, \"Missing %s header\");"," return;"," default:"," reject(request, response, \"Multiple %s headers\");"," }"," }",""," private static void accept(final HttpServletRequest request,"," final HttpServletResponse response, final FilterChain filterChain,"," final String correlationId)"," throws IOException, ServletException {"," response.setHeader(\"X-Correlation-ID\", correlationId);"," filterChain.doFilter(request, response);"," }",""," private static void reject(final HttpServletRequest request,"," final HttpServletResponse response, final String format)"," throws IOException {"," final String message = format(format, \"X-Correlation-ID\");"," response.setHeader(\"Warning\","," format(\"%d %s:%d \\\"%s\\\"\", WC_CORRELATION_ID,"," getByName(request.getLocalName())."," getCanonicalHostName(),"," request.getLocalPort(), message));"," response.sendError(SC_BAD_REQUEST, message);"," }","}"],"stylingDirectives":[[{"start":0,"end":7,"cssClass":"pl-k"},{"start":8,"end":13,"cssClass":"pl-s1"}],[],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":13,"cssClass":"pl-s1"},{"start":14,"end":20,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":10,"cssClass":"pl-s1"},{"start":11,"end":20,"cssClass":"pl-s1"},{"start":21,"end":30,"cssClass":"pl-s1"},{"start":31,"end":42,"cssClass":"pl-s1"},{"start":43,"end":51,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":10,"cssClass":"pl-s1"},{"start":11,"end":26,"cssClass":"pl-s1"},{"start":27,"end":31,"cssClass":"pl-s1"},{"start":32,"end":45,"cssClass":"pl-s1"},{"start":46,"end":55,"cssClass":"pl-s1"},{"start":56,"end":77,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":10,"cssClass":"pl-s1"},{"start":11,"end":26,"cssClass":"pl-s1"},{"start":27,"end":31,"cssClass":"pl-s1"},{"start":32,"end":39,"cssClass":"pl-s1"},{"start":40,"end":50,"cssClass":"pl-s1"},{"start":51,"end":74,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":10,"cssClass":"pl-s1"},{"start":11,"end":26,"cssClass":"pl-s1"},{"start":27,"end":37,"cssClass":"pl-s1"},{"start":38,"end":47,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":10,"cssClass":"pl-s1"},{"start":11,"end":26,"cssClass":"pl-s1"},{"start":27,"end":31,"cssClass":"pl-s1"},{"start":32,"end":46,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":10,"cssClass":"pl-s1"},{"start":11,"end":26,"cssClass":"pl-s1"},{"start":27,"end":31,"cssClass":"pl-s1"},{"start":32,"end":43,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":10,"cssClass":"pl-s1"},{"start":11,"end":26,"cssClass":"pl-s1"},{"start":27,"end":30,"cssClass":"pl-s1"},{"start":31,"end":37,"cssClass":"pl-s1"},{"start":38,"end":58,"cssClass":"pl-s1"}],[],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":12,"cssClass":"pl-s1"},{"start":13,"end":20,"cssClass":"pl-s1"},{"start":21,"end":32,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":12,"cssClass":"pl-s1"},{"start":13,"end":20,"cssClass":"pl-s1"},{"start":21,"end":37,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":12,"cssClass":"pl-s1"},{"start":13,"end":20,"cssClass":"pl-s1"},{"start":21,"end":25,"cssClass":"pl-s1"},{"start":26,"end":44,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":12,"cssClass":"pl-s1"},{"start":13,"end":20,"cssClass":"pl-s1"},{"start":21,"end":25,"cssClass":"pl-s1"},{"start":26,"end":45,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":11,"cssClass":"pl-s1"},{"start":12,"end":14,"cssClass":"pl-s1"},{"start":15,"end":26,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":11,"cssClass":"pl-s1"},{"start":12,"end":16,"cssClass":"pl-s1"},{"start":17,"end":21,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":11,"cssClass":"pl-s1"},{"start":12,"end":16,"cssClass":"pl-s1"},{"start":17,"end":26,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":11,"cssClass":"pl-s1"},{"start":12,"end":16,"cssClass":"pl-s1"},{"start":17,"end":24,"cssClass":"pl-s1"}],[],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":13,"cssClass":"pl-k"},{"start":14,"end":18,"cssClass":"pl-s1"},{"start":19,"end":23,"cssClass":"pl-s1"},{"start":24,"end":30,"cssClass":"pl-s1"},{"start":31,"end":37,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":13,"cssClass":"pl-k"},{"start":14,"end":18,"cssClass":"pl-s1"},{"start":19,"end":22,"cssClass":"pl-s1"},{"start":23,"end":34,"cssClass":"pl-s1"},{"start":35,"end":44,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":13,"cssClass":"pl-k"},{"start":14,"end":18,"cssClass":"pl-s1"},{"start":19,"end":23,"cssClass":"pl-s1"},{"start":24,"end":35,"cssClass":"pl-s1"},{"start":36,"end":40,"cssClass":"pl-s1"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":13,"cssClass":"pl-k"},{"start":14,"end":19,"cssClass":"pl-s1"},{"start":20,"end":27,"cssClass":"pl-s1"},{"start":28,"end":32,"cssClass":"pl-s1"},{"start":33,"end":52,"cssClass":"pl-s1"},{"start":53,"end":67,"cssClass":"pl-c1"}],[],[{"start":0,"end":3,"cssClass":"pl-c"}],[{"start":0,"end":69,"cssClass":"pl-c"}],[{"start":0,"end":2,"cssClass":"pl-c"}],[{"start":0,"end":67,"cssClass":"pl-c"}],[{"start":0,"end":28,"cssClass":"pl-c"}],[{"start":0,"end":3,"cssClass":"pl-c"}],[{"start":0,"end":1,"cssClass":"pl-c1"},{"start":1,"end":10,"cssClass":"pl-c1"}],[{"start":0,"end":1,"cssClass":"pl-c1"},{"start":1,"end":22,"cssClass":"pl-c1"},{"start":23,"end":60,"cssClass":"pl-s"}],[{"start":0,"end":1,"cssClass":"pl-c1"},{"start":1,"end":24,"cssClass":"pl-c1"},{"start":25,"end":31,"cssClass":"pl-s1"},{"start":34,"end":65,"cssClass":"pl-s"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":12,"cssClass":"pl-k"},{"start":13,"end":32,"cssClass":"pl-smi"}],[{"start":8,"end":15,"cssClass":"pl-k"},{"start":16,"end":36,"cssClass":"pl-smi"}],[{"start":4,"end":10,"cssClass":"pl-k"},{"start":11,"end":17,"cssClass":"pl-k"},{"start":18,"end":23,"cssClass":"pl-k"},{"start":24,"end":27,"cssClass":"pl-smi"},{"start":28,"end":45,"cssClass":"pl-c1"},{"start":48,"end":51,"cssClass":"pl-c1"}],[],[{"start":4,"end":11,"cssClass":"pl-k"},{"start":12,"end":18,"cssClass":"pl-k"},{"start":19,"end":24,"cssClass":"pl-k"},{"start":25,"end":36,"cssClass":"pl-smi"},{"start":37,"end":44,"cssClass":"pl-s1"},{"start":47,"end":50,"cssClass":"pl-k"},{"start":51,"end":65,"cssClass":"pl-smi"}],[],[{"start":4,"end":5,"cssClass":"pl-c1"},{"start":5,"end":13,"cssClass":"pl-c1"}],[{"start":4,"end":5,"cssClass":"pl-c1"},{"start":5,"end":11,"cssClass":"pl-c1"}],[{"start":4,"end":5,"cssClass":"pl-c1"},{"start":5,"end":21,"cssClass":"pl-c1"},{"start":22,"end":60,"cssClass":"pl-s"}],[{"start":4,"end":11,"cssClass":"pl-k"},{"start":12,"end":16,"cssClass":"pl-smi"},{"start":17,"end":23,"cssClass":"pl-smi"},{"start":25,"end":30,"cssClass":"pl-s1"}],[],[{"start":4,"end":5,"cssClass":"pl-c1"},{"start":5,"end":13,"cssClass":"pl-c1"}],[{"start":4,"end":13,"cssClass":"pl-k"},{"start":14,"end":18,"cssClass":"pl-smi"},{"start":19,"end":35,"cssClass":"pl-en"},{"start":36,"end":41,"cssClass":"pl-k"},{"start":42,"end":60,"cssClass":"pl-smi"},{"start":61,"end":68,"cssClass":"pl-s1"}],[{"start":12,"end":17,"cssClass":"pl-k"},{"start":18,"end":37,"cssClass":"pl-smi"},{"start":38,"end":46,"cssClass":"pl-s1"},{"start":48,"end":53,"cssClass":"pl-k"},{"start":54,"end":65,"cssClass":"pl-smi"},{"start":66,"end":77,"cssClass":"pl-s1"}],[{"start":12,"end":18,"cssClass":"pl-k"},{"start":19,"end":35,"cssClass":"pl-smi"},{"start":37,"end":48,"cssClass":"pl-smi"}],[{"start":8,"end":13,"cssClass":"pl-k"},{"start":14,"end":20,"cssClass":"pl-smi"},{"start":21,"end":24,"cssClass":"pl-s1"},{"start":27,"end":34,"cssClass":"pl-s1"},{"start":35,"end":48,"cssClass":"pl-en"}],[{"start":8,"end":10,"cssClass":"pl-k"},{"start":13,"end":18,"cssClass":"pl-s1"},{"start":19,"end":25,"cssClass":"pl-en"}],[{"start":16,"end":24,"cssClass":"pl-en"},{"start":25,"end":29,"cssClass":"pl-s1"},{"start":33,"end":40,"cssClass":"pl-s1"},{"start":41,"end":46,"cssClass":"pl-en"},{"start":47,"end":51,"cssClass":"pl-s1"},{"start":53,"end":56,"cssClass":"pl-s1"}],[{"start":12,"end":23,"cssClass":"pl-s1"},{"start":24,"end":32,"cssClass":"pl-en"},{"start":33,"end":40,"cssClass":"pl-s1"},{"start":42,"end":50,"cssClass":"pl-s1"}],[{"start":12,"end":18,"cssClass":"pl-k"}],[],[],[{"start":8,"end":56,"cssClass":"pl-c"}],[{"start":8,"end":13,"cssClass":"pl-k"},{"start":14,"end":23,"cssClass":"pl-smi"},{"start":24,"end":30,"cssClass":"pl-smi"},{"start":32,"end":39,"cssClass":"pl-s1"},{"start":42,"end":45,"cssClass":"pl-k"},{"start":46,"end":53,"cssClass":"pl-smi"}],[{"start":16,"end":20,"cssClass":"pl-en"},{"start":21,"end":28,"cssClass":"pl-s1"},{"start":29,"end":39,"cssClass":"pl-en"},{"start":40,"end":58,"cssClass":"pl-s"}],[{"start":8,"end":14,"cssClass":"pl-k"},{"start":16,"end":23,"cssClass":"pl-s1"},{"start":24,"end":28,"cssClass":"pl-en"}],[{"start":8,"end":12,"cssClass":"pl-k"},{"start":13,"end":14,"cssClass":"pl-c1"}],[{"start":12,"end":18,"cssClass":"pl-en"},{"start":19,"end":26,"cssClass":"pl-s1"},{"start":28,"end":36,"cssClass":"pl-s1"},{"start":38,"end":49,"cssClass":"pl-s1"},{"start":51,"end":58,"cssClass":"pl-s1"},{"start":59,"end":64,"cssClass":"pl-en"}],[{"start":12,"end":18,"cssClass":"pl-k"}],[{"start":8,"end":12,"cssClass":"pl-k"},{"start":13,"end":14,"cssClass":"pl-c1"}],[{"start":12,"end":18,"cssClass":"pl-en"},{"start":19,"end":26,"cssClass":"pl-s1"},{"start":28,"end":36,"cssClass":"pl-s1"},{"start":38,"end":57,"cssClass":"pl-s"}],[{"start":12,"end":18,"cssClass":"pl-k"}],[{"start":8,"end":15,"cssClass":"pl-k"}],[{"start":12,"end":18,"cssClass":"pl-en"},{"start":19,"end":26,"cssClass":"pl-s1"},{"start":28,"end":36,"cssClass":"pl-s1"},{"start":38,"end":59,"cssClass":"pl-s"}],[],[],[],[{"start":4,"end":11,"cssClass":"pl-k"},{"start":12,"end":18,"cssClass":"pl-k"},{"start":19,"end":23,"cssClass":"pl-smi"},{"start":24,"end":30,"cssClass":"pl-en"},{"start":31,"end":36,"cssClass":"pl-k"},{"start":37,"end":55,"cssClass":"pl-smi"},{"start":56,"end":63,"cssClass":"pl-s1"}],[{"start":12,"end":17,"cssClass":"pl-k"},{"start":18,"end":37,"cssClass":"pl-smi"},{"start":38,"end":46,"cssClass":"pl-s1"},{"start":48,"end":53,"cssClass":"pl-k"},{"start":54,"end":65,"cssClass":"pl-smi"},{"start":66,"end":77,"cssClass":"pl-s1"}],[{"start":12,"end":17,"cssClass":"pl-k"},{"start":18,"end":24,"cssClass":"pl-smi"},{"start":25,"end":38,"cssClass":"pl-s1"}],[{"start":12,"end":18,"cssClass":"pl-k"},{"start":19,"end":30,"cssClass":"pl-smi"},{"start":32,"end":48,"cssClass":"pl-smi"}],[{"start":8,"end":16,"cssClass":"pl-s1"},{"start":17,"end":26,"cssClass":"pl-en"},{"start":27,"end":45,"cssClass":"pl-s"},{"start":47,"end":60,"cssClass":"pl-s1"}],[{"start":8,"end":19,"cssClass":"pl-s1"},{"start":20,"end":28,"cssClass":"pl-en"},{"start":29,"end":36,"cssClass":"pl-s1"},{"start":38,"end":46,"cssClass":"pl-s1"}],[],[],[{"start":4,"end":11,"cssClass":"pl-k"},{"start":12,"end":18,"cssClass":"pl-k"},{"start":19,"end":23,"cssClass":"pl-smi"},{"start":24,"end":30,"cssClass":"pl-en"},{"start":31,"end":36,"cssClass":"pl-k"},{"start":37,"end":55,"cssClass":"pl-smi"},{"start":56,"end":63,"cssClass":"pl-s1"}],[{"start":12,"end":17,"cssClass":"pl-k"},{"start":18,"end":37,"cssClass":"pl-smi"},{"start":38,"end":46,"cssClass":"pl-s1"},{"start":48,"end":53,"cssClass":"pl-k"},{"start":54,"end":60,"cssClass":"pl-smi"},{"start":61,"end":67,"cssClass":"pl-s1"}],[{"start":12,"end":18,"cssClass":"pl-k"},{"start":19,"end":30,"cssClass":"pl-smi"}],[{"start":8,"end":13,"cssClass":"pl-k"},{"start":14,"end":20,"cssClass":"pl-smi"},{"start":21,"end":28,"cssClass":"pl-s1"},{"start":31,"end":37,"cssClass":"pl-en"},{"start":38,"end":44,"cssClass":"pl-s1"},{"start":46,"end":64,"cssClass":"pl-s"}],[{"start":8,"end":16,"cssClass":"pl-s1"},{"start":17,"end":26,"cssClass":"pl-en"},{"start":27,"end":36,"cssClass":"pl-s"}],[{"start":16,"end":22,"cssClass":"pl-en"},{"start":23,"end":40,"cssClass":"pl-s"},{"start":33,"end":35,"cssClass":"pl-cce"},{"start":37,"end":39,"cssClass":"pl-cce"},{"start":42,"end":59,"cssClass":"pl-c1"}],[{"start":24,"end":33,"cssClass":"pl-en"},{"start":34,"end":41,"cssClass":"pl-s1"},{"start":42,"end":54,"cssClass":"pl-en"}],[{"start":32,"end":52,"cssClass":"pl-en"}],[{"start":24,"end":31,"cssClass":"pl-s1"},{"start":32,"end":44,"cssClass":"pl-en"},{"start":48,"end":55,"cssClass":"pl-s1"}],[{"start":8,"end":16,"cssClass":"pl-s1"},{"start":17,"end":26,"cssClass":"pl-en"},{"start":27,"end":41,"cssClass":"pl-c1"},{"start":43,"end":50,"cssClass":"pl-s1"}],[],[]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/binkley/simple-boot/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"CorrelationIdFilter.java","displayUrl":"https://github.com/binkley/simple-boot/blob/13/common/src/main/java/hello/CorrelationIdFilter.java?raw=true","headerInfo":{"blobSize":"3.34 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":null,"isGitLfs":false,"onBranch":false,"shortPath":"319adf6","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fbinkley%2Fsimple-boot%2Fblob%2F13%2Fcommon%2Fsrc%2Fmain%2Fjava%2Fhello%2FCorrelationIdFilter.java","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"91","truncatedSloc":"81"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Java","languageID":181,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/binkley/simple-boot/blob/13/common/src/main/java/hello/CorrelationIdFilter.java","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/binkley/simple-boot/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/binkley/simple-boot/raw/13/common/src/main/java/hello/CorrelationIdFilter.java","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"CorrelationIdFilter","kind":"class","ident_start":1249,"ident_end":1268,"extent_start":1096,"extent_end":3423,"fully_qualified_name":"CorrelationIdFilter","ident_utf16":{"start":{"line_number":34,"utf16_col":13},"end":{"line_number":34,"utf16_col":32}},"extent_utf16":{"start":{"line_number":31,"utf16_col":0},"end":{"line_number":90,"utf16_col":1}}},{"name":"WC_CORRELATION_ID","kind":"field","ident_start":1336,"ident_end":1353,"extent_start":1312,"extent_end":1360,"fully_qualified_name":"CorrelationIdFilter::WC_CORRELATION_ID","ident_utf16":{"start":{"line_number":36,"utf16_col":28},"end":{"line_number":36,"utf16_col":45}},"extent_utf16":{"start":{"line_number":36,"utf16_col":4},"end":{"line_number":36,"utf16_col":52}}},{"name":"matcher","kind":"field","ident_start":1399,"ident_end":1406,"extent_start":1366,"extent_end":1430,"fully_qualified_name":"CorrelationIdFilter::matcher","ident_utf16":{"start":{"line_number":38,"utf16_col":37},"end":{"line_number":38,"utf16_col":44}},"extent_utf16":{"start":{"line_number":38,"utf16_col":4},"end":{"line_number":38,"utf16_col":68}}},{"name":"paths","kind":"field","ident_start":1545,"ident_end":1550,"extent_start":1436,"extent_end":1551,"fully_qualified_name":"CorrelationIdFilter::paths","ident_utf16":{"start":{"line_number":43,"utf16_col":25},"end":{"line_number":43,"utf16_col":30}},"extent_utf16":{"start":{"line_number":40,"utf16_col":4},"end":{"line_number":43,"utf16_col":31}}},{"name":"doFilterInternal","kind":"method","ident_start":1586,"ident_end":1602,"extent_start":1557,"extent_end":2500,"fully_qualified_name":"CorrelationIdFilter::doFilterInternal","ident_utf16":{"start":{"line_number":46,"utf16_col":19},"end":{"line_number":46,"utf16_col":35}},"extent_utf16":{"start":{"line_number":45,"utf16_col":4},"end":{"line_number":69,"utf16_col":5}}},{"name":"accept","kind":"method","ident_start":2526,"ident_end":2532,"extent_start":2506,"extent_end":2854,"fully_qualified_name":"CorrelationIdFilter::accept","ident_utf16":{"start":{"line_number":71,"utf16_col":24},"end":{"line_number":71,"utf16_col":30}},"extent_utf16":{"start":{"line_number":71,"utf16_col":4},"end":{"line_number":77,"utf16_col":5}}},{"name":"reject","kind":"method","ident_start":2880,"ident_end":2886,"extent_start":2860,"extent_end":3421,"fully_qualified_name":"CorrelationIdFilter::reject","ident_utf16":{"start":{"line_number":79,"utf16_col":24},"end":{"line_number":79,"utf16_col":30}},"extent_utf16":{"start":{"line_number":79,"utf16_col":4},"end":{"line_number":89,"utf16_col":5}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/binkley/simple-boot/branches":{"post":"Kktfr0Xkmbkuk9m-v9olOWFfZpkhAZUBSQ0t14Ma_kGUmT9Gb1oIr_9NgLvQ6Pl38BNMbWmyeXtA7aVhk5MoRQ"},"/repos/preferences":{"post":"Xae1wp-e0vXEkuYCYnHlv4hCrddPhaZ5AnBT_qp2Q6EIp8GwjGQGi09UeciLH5nKyiY72LjaA60eN5klWCJBgA"}}},"title":"simple-boot/common/src/main/java/hello/CorrelationIdFilter.java at 13 ยท binkley/simple-boot"}