|
|||||||||
| Home >> All >> com >> telefonicasoluciones >> search >> server >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.telefonicasoluciones.search.server.util
Class HTTPClient

java.lang.Objectcom.telefonicasoluciones.search.server.util.HTTPClient
- public class HTTPClient
- extends java.lang.Object
| Field Summary | |
private boolean |
connected
|
private java.net.Socket |
connector
|
private java.lang.String |
content
|
private int |
contentLength
|
private java.lang.String |
contentType
|
private java.util.ArrayList |
cookie
|
private static char |
CR
|
private java.lang.String |
document
|
private java.lang.String |
header
|
private static int |
HTTP_PORT
|
private java.io.BufferedInputStream |
istream
|
private java.io.OutputStream |
ostream
|
(package private) int |
read_length
|
private java.lang.String |
server
|
| Constructor Summary | |
HTTPClient(java.lang.String server)
HLUrl constructor comment. |
|
| Method Summary | |
private void |
connect()
Insert the method's description here. |
private void |
disconnect()
Insert the method's description here. |
private void |
get(java.lang.String path)
Permite ejecutar el método HTTP GET. |
java.lang.String |
getContent()
Insert the method's description here. |
java.lang.String |
getContentType()
Insert the method's description here. |
static java.lang.String |
getDocumentString(java.lang.String urlString)
Insert the method's description here. |
java.lang.String |
getFile()
Insert the method's description here. |
java.lang.String |
getHeader()
Insert the method's description here. |
java.lang.String |
getHost()
Insert the method's description here. |
static java.lang.String |
getServerString(java.lang.String urlString)
Insert the method's description here. |
java.lang.String |
getUrlString()
Insert the method's description here. |
void |
load(java.lang.String document)
Insert the method's description here. |
private void |
post(java.lang.String path,
java.lang.String query)
Insert the method's description here. |
private java.lang.String |
readHTTPLine()
|
private void |
readResponse()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
HTTP_PORT
private static final int HTTP_PORT
- See Also:
- Constant Field Values
CR
private static final char CR
- See Also:
- Constant Field Values
server
private java.lang.String server
document
private java.lang.String document
connector
private java.net.Socket connector
istream
private java.io.BufferedInputStream istream
ostream
private java.io.OutputStream ostream
cookie
private java.util.ArrayList cookie
contentType
private java.lang.String contentType
contentLength
private int contentLength
header
private java.lang.String header
content
private java.lang.String content
connected
private boolean connected
read_length
int read_length
| Constructor Detail |
HTTPClient
public HTTPClient(java.lang.String server)
- HLUrl constructor comment.
| Method Detail |
connect
private void connect()
throws HTTPClientException
- Insert the method's description here.
Creation date: (21/01/2002 8:08:05)
disconnect
private void disconnect()
throws HTTPClientException
- Insert the method's description here.
Creation date: (21/01/2002 8:36:39)
get
private void get(java.lang.String path) throws HTTPClientException
- Permite ejecutar el método HTTP GET.
Creation date: (21/01/2002 8:40:13)
getContent
public java.lang.String getContent()
- Insert the method's description here.
Creation date: (22/01/2002 8:07:09)
getContentType
public java.lang.String getContentType()
- Insert the method's description here.
Creation date: (13/02/2002 9:19:31)
getDocumentString
public static final java.lang.String getDocumentString(java.lang.String urlString)
- Insert the method's description here.
Creation date: (13/02/2002 9:19:31)
getFile
public java.lang.String getFile()
- Insert the method's description here.
Creation date: (13/02/2002 12:50:16)
getHeader
public java.lang.String getHeader()
- Insert the method's description here.
Creation date: (22/01/2002 8:07:23)
getHost
public java.lang.String getHost()
- Insert the method's description here.
Creation date: (13/02/2002 12:52:41)
getServerString
public static final java.lang.String getServerString(java.lang.String urlString)
- Insert the method's description here.
Creation date: (13/02/2002 10:50:56)
getUrlString
public java.lang.String getUrlString()
- Insert the method's description here.
Creation date: (13/02/2002 12:27:46)
load
public void load(java.lang.String document) throws HTTPClientException
- Insert the method's description here.
Creation date: (13/02/2002 9:20:46)
post
private void post(java.lang.String path, java.lang.String query) throws HTTPClientException
- Insert the method's description here.
Creation date: (21/01/2002 8:43:53)
readResponse
private void readResponse()
throws java.lang.Exception
readHTTPLine
private java.lang.String readHTTPLine() throws java.io.IOException
|
|||||||||
| Home >> All >> com >> telefonicasoluciones >> search >> server >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.telefonicasoluciones.search.server.util.HTTPClient