Beispiel #1
0
 @Override
 public boolean isChunkedTransfer() {
   return Iterables.any(
       headers.getAll(HttpHeaderNames.TRANSFER_ENCODING),
       HttpHeaderValues.CHUNKED::contentEqualsIgnoreCase);
 }
Beispiel #2
0
 @Override
 public boolean isExpectsContinue() {
   return Iterables.any(
       headers.getAll(HttpHeaderNames.EXPECT), HttpHeaderValues.CONTINUE::contentEqualsIgnoreCase);
 }