MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / hasContent

Method hasContent

src/tsd/AbstractHttpQuery.java:337–340  ·  view source on GitHub ↗

@return True if the request has content, false if not.

()

Source from the content-addressed store, hash-verified

335
336 /** @return True if the request has content, false if not. */
337 public boolean hasContent() {
338 return this.request.getContent() != null &&
339 this.request.getContent().readable();
340 }
341
342 /**
343 * Decodes the request content to a string using the appropriate character set

Callers 11

parsePutV1Method · 0.45
handleUIDMetaMethod · 0.45
handleTSMetaMethod · 0.45
executeMethod · 0.45
executeBulkDeleteMethod · 0.45
executeMethod · 0.45
handleTreeMethod · 0.45
handleRuleMethod · 0.45
handleRulesMethod · 0.45
handleTestMethod · 0.45

Calls 1

getContentMethod · 0.45

Tested by

no test coverage detected