public class Break extends BreakDeprecated
| Modifier and Type | Method and Description |
|---|---|
ApiResponse |
addHttpBreakpoint(java.lang.String string,
java.lang.String location,
java.lang.String match,
java.lang.String inverse,
java.lang.String ignorecase)
Adds a custom HTTP breakpont.
|
ApiResponse |
brk(java.lang.String type,
java.lang.String state,
java.lang.String scope)
Controls the global break functionality.
|
ApiResponse |
cont()
Submits the currently intercepted message and unsets the global request/response break points
|
ApiResponse |
drop()
Drops the currently intercepted message
|
ApiResponse |
httpMessage()
Returns the HTTP message currently intercepted (if any)
|
ApiResponse |
isBreakAll()
Returns True if ZAP will break on both requests and responses
|
ApiResponse |
isBreakRequest()
Returns True if ZAP will break on requests
|
ApiResponse |
isBreakResponse()
Returns True if ZAP will break on responses
|
ApiResponse |
removeHttpBreakpoint(java.lang.String string,
java.lang.String location,
java.lang.String match,
java.lang.String inverse,
java.lang.String ignorecase)
Removes the specified break point
|
ApiResponse |
setHttpMessage(java.lang.String httpheader,
java.lang.String httpbody)
Overwrites the currently intercepted message with the data provided
|
ApiResponse |
step()
Submits the currently intercepted message, the next request or response will automatically be
intercepted
|
addHttpBreakpoint, brk, removeHttpBreakpointpublic Break(ClientApi api)
public ApiResponse isBreakAll() throws ClientApiException
ClientApiExceptionpublic ApiResponse isBreakRequest() throws ClientApiException
ClientApiExceptionpublic ApiResponse isBreakResponse() throws ClientApiException
ClientApiExceptionpublic ApiResponse httpMessage() throws ClientApiException
ClientApiExceptionpublic ApiResponse brk(java.lang.String type, java.lang.String state, java.lang.String scope) throws ClientApiException
ClientApiExceptionpublic ApiResponse setHttpMessage(java.lang.String httpheader, java.lang.String httpbody) throws ClientApiException
ClientApiExceptionpublic ApiResponse cont() throws ClientApiException
ClientApiExceptionpublic ApiResponse step() throws ClientApiException
ClientApiExceptionpublic ApiResponse drop() throws ClientApiException
ClientApiExceptionpublic ApiResponse addHttpBreakpoint(java.lang.String string, java.lang.String location, java.lang.String match, java.lang.String inverse, java.lang.String ignorecase) throws ClientApiException
ClientApiExceptionpublic ApiResponse removeHttpBreakpoint(java.lang.String string, java.lang.String location, java.lang.String match, java.lang.String inverse, java.lang.String ignorecase) throws ClientApiException
ClientApiException