com.bitmechanic.maxq.generator
Class HttpUnitTemplateLogic.InPlaceResponse

java.lang.Object
  extended by com.meterware.httpunit.WebResponse
      extended by com.bitmechanic.maxq.generator.HttpUnitTemplateLogic.InPlaceResponse
All Implemented Interfaces:
com.meterware.httpunit.cookies.CookieSource, com.meterware.httpunit.HTMLSegment
Enclosing class:
HttpUnitTemplateLogic

public static class HttpUnitTemplateLogic.InPlaceResponse
extends com.meterware.httpunit.WebResponse

A subclass of WebResponse for parsing pages intercepted by MaxQ proxy. Based on WebResponse.DefaultResponse from HttpUnit project.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.meterware.httpunit.WebResponse
com.meterware.httpunit.WebResponse.Scriptable
 
Method Summary
 java.lang.String getHeaderField(java.lang.String fieldName)
          Returns the value for the specified header field.
 java.lang.String[] getHeaderFieldNames()
          Returns the header names.
 java.lang.String[] getHeaderFields(java.lang.String fieldName)
          Returns the values of the specified header.
 int getResponseCode()
          Returns the response code associated with this response.
 java.lang.String getResponseMessage()
          Returns the response message associated with this response.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class com.meterware.httpunit.WebResponse
defineRawInputStream, getApplets, getCharacterSet, getContentLength, getContentType, getDOM, getElementNames, getElementsWithAttribute, getElementsWithName, getElementWithID, getExternalStyleSheet, getFirstMatchingForm, getFirstMatchingLink, getFirstMatchingTable, getFirstMatchingTextBlock, getForms, getFormWithID, getFormWithName, getFrameName, getFrameNames, getImages, getImageWithAltText, getImageWithName, getImageWithSource, getInputStream, getLinks, getLinkWith, getLinkWithID, getLinkWithImageText, getLinkWithName, getMatchingForms, getMatchingLinks, getMatchingTables, getMetaTagContent, getNewCookieNames, getNewCookieValue, getNextTextBlock, getRefreshDelay, getRefreshRequest, getScriptableObject, getSubframeContents, getTables, getTableStartingWith, getTableStartingWithPrefix, getTableWithID, getTableWithSummary, getText, getTextBlocks, getTitle, getURL, isHTML, loadResponseText, newDelegate, newResponse, setContentTypeHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getResponseCode

public int getResponseCode()
Returns the response code associated with this response.

Specified by:
getResponseCode in class com.meterware.httpunit.WebResponse

getResponseMessage

public java.lang.String getResponseMessage()
Returns the response message associated with this response.

Specified by:
getResponseMessage in class com.meterware.httpunit.WebResponse

getHeaderFieldNames

public java.lang.String[] getHeaderFieldNames()
Returns the header names.

Specified by:
getHeaderFieldNames in class com.meterware.httpunit.WebResponse

getHeaderField

public java.lang.String getHeaderField(java.lang.String fieldName)
Returns the value for the specified header field. If no such field is defined, will return null.

Specified by:
getHeaderField in class com.meterware.httpunit.WebResponse

getHeaderFields

public java.lang.String[] getHeaderFields(java.lang.String fieldName)
Returns the values of the specified header.


toString

public java.lang.String toString()
Returns a string representation of the object.

Specified by:
toString in class com.meterware.httpunit.WebResponse