Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

FormPoster.cleanRawResponse

Fetches the raw bytes from the output stream and removes the HTTP header.

This method is similar to getResponse() except the data is returned as an array of bytes rather than a string. This method has two variants:


FormPoster.cleanRawResponse

Fetches the raw bytes from the output stream and removes the HTTP header.

Syntax

Description

The cleanRawResponse method fetches the raw bytes from the output stream and removes the HTTP header.

This method is similar to getResponse() except the data is returned as an array of bytes rather than as a string.

Returns

Example

See Also

getResponse,
getRawResponse,
cleanRawResponse


FormPoster.cleanRawResponse

Fetches the raw bytes from the output stream and removes the HTTP header. Optionally removes the trailing status code.

Syntax

Parameters

bRemoveStatus
Set this parameter to true to remove status; set it to false to keep the status code.

Description

The cleanRawResponse method fetches the raw bytes from the output stream and removes the HTTP header. cleanRawResponse optionally removes the trailing status code.

This method is similar to getResponse() except the data is returned as an array of bytes rather than as a string.

Returns

byte[] response

Example

See Also

getResponse,
getRawResponse,
cleanResponse

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.