-
public abstract class MonitorHttpRequestWe'll not send the requests extending this class using the queue in order to be able receive exception in case the queue will not function
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringurlprivate final ContentTypecontentTypeprivate final BooleanreportToRDprivate ByteArraybodyprivate Map<String, String>headersprivate final Integertimeout
-
Method Summary
Modifier and Type Method Description abstract StringgetUrl()abstract ContentTypegetContentType()BooleangetReportToRD()final ByteArraygetBody()final UnitsetBody(ByteArray body)final Map<String, String>getHeaders()final UnitsetHeaders(Map<String, String> headers)final IntegergetTimeout()abstract StringlogParsing(String $self)final BooleanexecuteRequest()Execute the HTTP request to the Exception Manager endpoint -
-
Method Detail
-
getContentType
abstract ContentType getContentType()
-
getReportToRD
Boolean getReportToRD()
-
getHeaders
final Map<String, String> getHeaders()
-
setHeaders
final Unit setHeaders(Map<String, String> headers)
-
getTimeout
final Integer getTimeout()
-
logParsing
abstract String logParsing(String $self)
-
executeRequest
@WorkerThread() final Boolean executeRequest()
Execute the HTTP request to the Exception Manager endpoint
-
-
-
-