com.novell.sentinel.client.http.java
Class JavaRequestorJSONHandler
java.lang.Object
com.novell.sentinel.client.http.java.JavaRequestorJSONHandler
public class JavaRequestorJSONHandler
- extends Object
A helper implementation class that provides implementations of protected abstract methods
required by JavaRequestorBase.
This class exists so that implementation code can be shared between the synchronous and
asynchronous implementations of the JSON HttpRequestor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MEDIA_TYPE
public static final String MEDIA_TYPE
- See Also:
- Constant Field Values
JavaRequestorJSONHandler
public JavaRequestorJSONHandler()
getMediaType
public String getMediaType()
- See Also:
JavaRequestorBase.getMediaType()
getToken
public String getToken(InputStream source)
throws IOException
- Throws:
IOException
- See Also:
JavaRequestorBase.getToken(InputStream)
getParser
public JSONParser getParser(InputStream source)
- See Also:
JavaRequestorBase.getParser(InputStream)
sendData
public void sendData(OutputStream dest,
JSONParser parser)
throws IOException
- Throws:
IOException
- See Also:
JavaRequestorBase.sendData(OutputStream, Object)
getNcacFault
public JavaRequestorBase.NcacFault getNcacFault(InputStream source)
throws IOException
- Throws:
IOException
- See Also:
JavaRequestorBase.getNcacFault(InputStream)