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 breakpoint.
|
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 breakpoints
|
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 breakpoint
|
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, removeHttpBreakpoint
public Break(ClientApi api)
public ApiResponse isBreakAll() throws ClientApiException
ClientApiException
public ApiResponse isBreakRequest() throws ClientApiException
ClientApiException
public ApiResponse isBreakResponse() throws ClientApiException
ClientApiException
public ApiResponse httpMessage() throws ClientApiException
ClientApiException
public ApiResponse brk(java.lang.String type, java.lang.String state, java.lang.String scope) throws ClientApiException
ClientApiException
public ApiResponse setHttpMessage(java.lang.String httpheader, java.lang.String httpbody) throws ClientApiException
ClientApiException
public ApiResponse cont() throws ClientApiException
ClientApiException
public ApiResponse step() throws ClientApiException
ClientApiException
public ApiResponse drop() throws ClientApiException
ClientApiException
public ApiResponse addHttpBreakpoint(java.lang.String string, java.lang.String location, java.lang.String match, java.lang.String inverse, java.lang.String ignorecase) throws ClientApiException
ClientApiException
public 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