Class HttpReplyHdr
java.lang.Object
org.apache.jmeter.protocol.http.proxy.HttpReplyHdr
Utility class to generate HTTP responses of various types.
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringIndicates the document was accepted.static StringIndicates a new file was created.static StringClient if forbidden to get the request service.static StringNever seen this used.static StringThe server had a problem and could not fulfill the request.static StringThe requested method is not implemented by the server.static StringIndicates a requested URL has moved to a new address or name.static StringIndicates the client is not allowed to access the object.static StringThe requested object was not found.static StringServer does not do the requested feature.static StringformNotImplemented(String reason) Server does not do the requested feature.static StringIndicates remote copy of the requested object is current.static StringForms a http ok reply headerstatic StringServer is overloaded, client should try again latter.static StringIndicates only a partial response was sent.static StringPayment is required for service.static StringIndicates the client's proxies could not locate a server.static StringIndicates the request took to long.static StringClient not authorized for the request.
- 
Method Details- 
formOkForms a http ok reply header- Parameters:
- contentType- the mime-type of the content
- contentLength- the length of the content
- Returns:
- a string with the header in it
 
- 
formCreatedIndicates a new file was created.- Returns:
- The header in a string;
 
- 
formAcceptedIndicates the document was accepted.- Returns:
- The header in a string;
 
- 
formPartialIndicates only a partial response was sent.- Returns:
- The header in a string;
 
- 
formMovedIndicates a requested URL has moved to a new address or name.- Returns:
- The header in a string;
 
- 
formFoundNever seen this used.- Returns:
- The header in a string;
 
- 
formMethodThe requested method is not implemented by the server.- Returns:
- The header in a string;
 
- 
formNotModifiedIndicates remote copy of the requested object is current.- Returns:
- The header in a string;
 
- 
formUnauthorizedClient not authorized for the request.- Returns:
- The header in a string;
 
- 
formPaymentNeededPayment is required for service.- Returns:
- The header in a string;
 
- 
formForbiddenClient if forbidden to get the request service.- Returns:
- The header in a string;
 
- 
formNotFoundThe requested object was not found.- Returns:
- The header in a string;
 
- 
formInternalErrorThe server had a problem and could not fulfill the request.- Returns:
- The header in a string;
 
- 
formNotImplementedServer does not do the requested feature.- Returns:
- The header in a string;
 
- 
formNotImplementedServer does not do the requested feature.- Parameters:
- reason- detailed information for causing the failure
- Returns:
- The header in a string;
 
- 
formOverloadedServer is overloaded, client should try again latter.- Returns:
- The header in a string;
 
- 
formTimeoutIndicates the request took to long.- Returns:
- The header in a string;
 
- 
formServerNotFoundIndicates the client's proxies could not locate a server.- Returns:
- The header in a string;
 
- 
formNotAllowedIndicates the client is not allowed to access the object.- Returns:
- The header in a string;
 
 
-