Docs
  • Guides
  • APIs (opens in a new tab)
  • Products
    Elasticsearch Observability Security Elastic Cloud
  • Reference
  • Troubleshoot
  • Release notes
  1. Docs /
  2. Reference /
  3. Elasticsearch /
  4. Clients /
  5. Java /
  6. Transport layer /
  7. Legacy REST Client /
  8. Sniffer

Javadoc for the Elasticsearch Java REST client sniffer

Note

This is the legacy RestClient. Please migrate to Rest5Client, a drop-in replacement with an up-to-date http library.

The javadoc for the REST client sniffer can be found at https://snapshots.elastic.co/javadoc/org/elasticsearch/client/elasticsearch-rest-client-sniffer/9.5.0/index.html.

Previous
Sniffer
Next
Maven Repository
  • View as Markdown
  • Report a docs issue
  • Edit this page
  • Learn how to contribute
Get started free
  • 14-day free trial
  • All features included
  • No setup required
Section
Reference
Docs Guides APIs (opens in a new tab)
Products
Elasticsearch Observability Security Elastic Cloud
Reference Troubleshoot Release notes
Version
Reference Elasticsearch Clients
  • Java
    • Getting started
    • Setup
      • Installation
      • Connecting
      • Using OpenTelemetry
    • API conventions
      • Package structure and namespace clients
      • Method naming conventions
      • Blocking and asynchronous clients
      • Building API objects
      • Lists and maps
      • Variant types
      • Object life cycles and thread safety
      • Creating API objects from JSON data
      • Exceptions
    • Using the Java API client
      • Indexing single documents
      • Bulk: indexing multiple documents
      • Reading documents by id
      • Searching for documents
      • Aggregations
      • ES|QL in the Java client
    • Troubleshooting
      • Missing required property
      • NoSuchMethodError: removeHeader
      • IOReactor errors
      • Serializing without typed keys
      • Could not resolve dependencies
      • NoClassDefFoundError: LogFactory
    • Transport layer
      • REST 5 Client
        • Getting started
          • Initialization
          • Performing requests
          • Reading responses
          • Logging
        • Common configuration
          • Timeouts
          • Number of threads
          • Basic authentication
          • Other authentication methods
          • Encrypted communication
          • More config options
          • Node selector
        • Sniffer
      • Legacy REST Client
        • Getting started
          • Javadoc
          • Maven repository
          • Dependencies
          • Shading
          • Initialization
          • Performing requests
          • Reading responses
          • Logging
        • Common configuration
          • Timeouts
          • Number of threads
          • Basic authentication
          • Other authentication methods
          • Encrypted communication
          • More config options
          • Node selector
        • Sniffer
          • Javadoc
          • Maven Repository
          • Usage
    • Javadoc and source code
    • External resources
    • Breaking changes policy
    • Release highlights
    • License
Elastic logo
  • Trademarks
  • Terms of Use
  • Privacy
  • Sitemap

© 2026 Elasticsearch B.V. All Rights Reserved.

This content is available in different formats for convenience only. All original licensing terms apply.

Elasticsearch is a trademark of Elasticsearch B.V., registered in the U.S. and in other countries. Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.