@Test public void blankMainHeader() { when(request.getHeader("X-UUID")).thenReturn(""); uuidResolver.resolve(httpCommand, null, builder); assertNotNull(builder.getRequestUUID()); }
@Override public void resolve(HttpCommand httpCommand, Ignore ignore, DehydratedExecutionContextBuilder builder) { RequestUUID requestUUID = resolve(httpCommand); builder.setRequestUUID(requestUUID); }
HttpRequestUuidResolver extends SingleComponentResolver<HttpCommand, Ignore> { @Override public void resolve(HttpCommand httpCommand, Ignore ignore, DehydratedExecutionContextBuilder builder) { RequestUUID requestUUID = resolve(httpCommand); builder.setRequestUUID(requestUUID); } }
HttpRequestUuidResolver extends SingleComponentResolver<HttpCommand, Ignore> { @Override public void resolve(HttpCommand httpCommand, Ignore ignore, DehydratedExecutionContextBuilder builder) { RequestUUID requestUUID = resolve(httpCommand); builder.setRequestUUID(requestUUID); } HttpRequestUuidResolver(String uuidHeader, String uuidParentsHeader); }
HttpRequestUuidResolver extends SingleComponentResolver<HttpCommand, Ignore> { @Override public void resolve(HttpCommand httpCommand, Ignore ignore, DehydratedExecutionContextBuilder builder) { RequestUUID requestUUID = resolve(httpCommand); builder.setRequestUUID(requestUUID); } HttpRequestUuidResolver(String uuidHeader, String uuidParentsHeader); @Override void resolve(HttpCommand httpCommand, Ignore ignore, DehydratedExecutionContextBuilder builder); }
HttpRequestUuidResolver extends SingleComponentResolver<HttpCommand, Ignore> { @Override public void resolve(HttpCommand httpCommand, Ignore ignore, DehydratedExecutionContextBuilder builder) { RequestUUID requestUUID = resolve(httpCommand); builder.setRequestUUID(requestUUID); } HttpRequestUuidResolver(String uuidHeader, String uuidParentsHeader); @Override void resolve(HttpCommand httpCommand, Ignore ignore, DehydratedExecutionContextBuilder builder);  }