com.voidsearch.voidbase.client
Class VoidBaseHttpClient
java.lang.Object
com.voidsearch.voidbase.client.VoidBaseHttpClient
- All Implemented Interfaces:
- VoidBaseClient
- Direct Known Subclasses:
- HttpFeedFetcher, QueueTreeClient
public abstract class VoidBaseHttpClient
- extends java.lang.Object
- implements VoidBaseClient
|
Field Summary |
protected org.apache.commons.httpclient.HttpClient |
client
|
protected static java.lang.String |
hostname
|
protected static java.lang.String |
module
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
protected org.apache.commons.httpclient.HttpClient client
hostname
protected static java.lang.String hostname
module
protected static java.lang.String module
VoidBaseHttpClient
public VoidBaseHttpClient()
VoidBaseHttpClient
public VoidBaseHttpClient(java.lang.String hostname,
java.lang.String module)
get
protected byte[] get(VoidBaseQuery query)
throws java.lang.Exception
- Throws:
java.lang.Exception
get
public byte[] get(java.lang.String query)
throws java.lang.Exception
- Throws:
java.lang.Exception
post
protected void post(VoidBaseQuery query,
java.lang.String content)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2009. All Rights Reserved.