Enterprise Information Portal APIs

com.ibm.gcs.component.config
Class HttpSpecific

java.lang.Object
  |
  +--com.ibm.gcs.component.config.HttpSpecific

public class HttpSpecific
extends java.lang.Object

This represents http-specific information in a URLSeed. It has methods for getting the HTTP method, {link Authentication authentication} information, message header fields, and content.

See Also:
URLSeed, CrawlPattern, Config

Inner Class Summary
 class HttpSpecific.MsgHeader
          This inner class represents a HTTP message header that is sent to the HTTP server.
 
Method Summary
 java.lang.String getContent()
          returns the http-specific content to send to the http server
 java.lang.String getHttpMethod()
          returns the HTTP method used to connect
 HttpSpecific.MsgHeader[] getMsgHeaders()
          returns an array of http message headers
 boolean hasContent()
          checks if this seed has content to send the http server
 boolean hasMsgHeaders()
          checks if this seed has http-specific message headers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHttpMethod

public java.lang.String getHttpMethod()
returns the HTTP method used to connect

hasMsgHeaders

public boolean hasMsgHeaders()
checks if this seed has http-specific message headers

getMsgHeaders

public HttpSpecific.MsgHeader[] getMsgHeaders()
returns an array of http message headers

hasContent

public boolean hasContent()
checks if this seed has content to send the http server

getContent

public java.lang.String getContent()
returns the http-specific content to send to the http server

EIP Web Crawler APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.