org.apache.solr.handler.component

## Class ShardResponse

- java.lang.Object
- - org.apache.solr.handler.component.ShardResponse

-     public final class ShardResponse
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ShardResponse()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Throwable` | `getException()`
    `String` | `getNodeName()`
    `String` | `getShard()`
    `String` | `getShardAddress()` What was the shard address that returned this response.
    `ShardRequest` | `getShardRequest()`
    `SolrResponse` | `getSolrResponse()`
    `void` | `setShardRequest(ShardRequest rsp)`
    `void` | `setSolrResponse(SolrResponse rsp)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ShardResponse

          public ShardResponse()

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### getException

          public Throwable getException()

    - #### getShardRequest

          public ShardRequest getShardRequest()

    - #### getSolrResponse

          public SolrResponse getSolrResponse()

    - #### getShard

          public String getShard()

    - #### getNodeName

          public String getNodeName()

    - #### setShardRequest

          public void setShardRequest(ShardRequest rsp)

    - #### setSolrResponse

          public void setSolrResponse(SolrResponse rsp)

    - #### getShardAddress

          public String getShardAddress()

      What was the shard address that returned this response. Example: "http://localhost:8983/solr"

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.