Spring Data Key-Value

org.springframework.data.keyvalue.riak.util
Class Ignore404sErrorHandler

java.lang.Object
  extended by org.springframework.web.client.DefaultResponseErrorHandler
      extended by org.springframework.data.keyvalue.riak.util.Ignore404sErrorHandler
All Implemented Interfaces:
ResponseErrorHandler

public class Ignore404sErrorHandler
extends DefaultResponseErrorHandler

Author:
J. Brisbin <[email protected]>

Constructor Summary
Ignore404sErrorHandler()
           
 
Method Summary
 void handleError(ClientHttpResponse response)
           
protected  boolean hasError(HttpStatus statusCode)
           
 
Methods inherited from class org.springframework.web.client.DefaultResponseErrorHandler
hasError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ignore404sErrorHandler

public Ignore404sErrorHandler()
Method Detail

hasError

protected boolean hasError(HttpStatus statusCode)
Overrides:
hasError in class DefaultResponseErrorHandler

handleError

public void handleError(ClientHttpResponse response)
                 throws IOException
Specified by:
handleError in interface ResponseErrorHandler
Overrides:
handleError in class DefaultResponseErrorHandler
Throws:
IOException

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.