edu.columbia.cs.irt.rfidentify.display
Class IdTagHandler
java.lang.Object
java.util.Observable
edu.columbia.cs.irt.rfidentify.display.IdTagHandler
- All Implemented Interfaces:
- org.apache.http.protocol.HttpRequestHandler
public class IdTagHandler
- extends java.util.Observable
- implements org.apache.http.protocol.HttpRequestHandler
Used to update handlers that a tag has been swiped
- Author:
- Blake Arnold
Method Summary |
void |
handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
|
Methods inherited from class java.util.Observable |
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdTagHandler
public IdTagHandler(DBAccess dbAccess)
- Initializes new handler
- Parameters:
dbAccess
- Access to local database
handle
public void handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException,
java.io.IOException
- Specified by:
handle
in interface org.apache.http.protocol.HttpRequestHandler
- Throws:
org.apache.http.HttpException
java.io.IOException