@Test public void testGetHeader() { HttpHeaders headers = new HttpHeaders(); headers.add("app", "demo"); ServerRequest req = MockServerRequest.builder().headers(headers).build(); Assert.assertEquals("demo", WebfluxUtils.getHeaderValue(req, "app")); }
public static String getHeaderValue(ServerRequest request, String headerName) { return getHeaderValue(request.headers(), headerName); }
WebfluxUtils { public static String getHeaderValue(ServerRequest request, String headerName) { return getHeaderValue(request.headers(), headerName); } }
WebfluxUtils { public static String getHeaderValue(ServerRequest request, String headerName) { return getHeaderValue(request.headers(), headerName); } private  WebfluxUtils(); }
WebfluxUtils { public static String getHeaderValue(ServerRequest request, String headerName) { return getHeaderValue(request.headers(), headerName); } private  WebfluxUtils(); static String getHeaderValue(ServerRequest request, String headerName); static String getHeaderValue(ServerRequest.Headers headers, String headerName); }
WebfluxUtils { public static String getHeaderValue(ServerRequest request, String headerName) { return getHeaderValue(request.headers(), headerName); } private  WebfluxUtils(); static String getHeaderValue(ServerRequest request, String headerName); static String getHeaderValue(ServerRequest.Headers headers, String headerName);  }