public class HttpStatusResponse extends LineOrientedResponse
Constructor and Description |
---|
HttpStatusResponse(String response) |
Modifier and Type | Method and Description |
---|---|
boolean |
validateResponse(String pattern,
String url,
boolean isCheckCode,
int maxRetCode)
validateResponse: Validate the HTTP response from
LineOrientedResponse.getResponse() . |
contains, endsWith, equals, find, getResponse, matches, receive, setResponse, startsWith, toString
public HttpStatusResponse(String response)
public boolean validateResponse(String pattern, String url, boolean isCheckCode, int maxRetCode) throws Exception
validateResponse: Validate the HTTP response from LineOrientedResponse.getResponse()
.
pattern
- Unused.url
- Unused.isCheckCode
- Whether to check the response code against maxRetCode for validity.maxRetCode
- The maximum return code to accept.Exception
Copyright © 2016. All rights reserved.