Class HttpJsonWebSecurityScannerStub (2.3.0)

public class HttpJsonWebSecurityScannerStub extends WebSecurityScannerStub

REST stub implementation for the WebSecurityScanner service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > WebSecurityScannerStub > HttpJsonWebSecurityScannerStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonWebSecurityScannerStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonWebSecurityScannerStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonWebSecurityScannerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonWebSecurityScannerStub
Exceptions
TypeDescription
IOException

create(WebSecurityScannerStubSettings settings)

public static final HttpJsonWebSecurityScannerStub create(WebSecurityScannerStubSettings settings)
Parameter
NameDescription
settingsWebSecurityScannerStubSettings
Returns
TypeDescription
HttpJsonWebSecurityScannerStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext)

protected HttpJsonWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonWebSecurityScannerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsWebSecurityScannerStubSettings
clientContextClientContext

HttpJsonWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonWebSecurityScannerStub(WebSecurityScannerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonWebSecurityScannerStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsWebSecurityScannerStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createScanConfigCallable()

public UnaryCallable<CreateScanConfigRequest,ScanConfig> createScanConfigCallable()
Returns
TypeDescription
UnaryCallable<CreateScanConfigRequest,ScanConfig>
Overrides

deleteScanConfigCallable()

public UnaryCallable<DeleteScanConfigRequest,Empty> deleteScanConfigCallable()
Returns
TypeDescription
UnaryCallable<DeleteScanConfigRequest,Empty>
Overrides

getFindingCallable()

public UnaryCallable<GetFindingRequest,Finding> getFindingCallable()
Returns
TypeDescription
UnaryCallable<GetFindingRequest,Finding>
Overrides

getScanConfigCallable()

public UnaryCallable<GetScanConfigRequest,ScanConfig> getScanConfigCallable()
Returns
TypeDescription
UnaryCallable<GetScanConfigRequest,ScanConfig>
Overrides

getScanRunCallable()

public UnaryCallable<GetScanRunRequest,ScanRun> getScanRunCallable()
Returns
TypeDescription
UnaryCallable<GetScanRunRequest,ScanRun>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCrawledUrlsCallable()

public UnaryCallable<ListCrawledUrlsRequest,ListCrawledUrlsResponse> listCrawledUrlsCallable()
Returns
TypeDescription
UnaryCallable<ListCrawledUrlsRequest,ListCrawledUrlsResponse>
Overrides

listCrawledUrlsPagedCallable()

public UnaryCallable<ListCrawledUrlsRequest,WebSecurityScannerClient.ListCrawledUrlsPagedResponse> listCrawledUrlsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCrawledUrlsRequest,ListCrawledUrlsPagedResponse>
Overrides

listFindingTypeStatsCallable()

public UnaryCallable<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse> listFindingTypeStatsCallable()
Returns
TypeDescription
UnaryCallable<ListFindingTypeStatsRequest,ListFindingTypeStatsResponse>
Overrides

listFindingsCallable()

public UnaryCallable<ListFindingsRequest,ListFindingsResponse> listFindingsCallable()
Returns
TypeDescription
UnaryCallable<ListFindingsRequest,ListFindingsResponse>
Overrides

listFindingsPagedCallable()

public UnaryCallable<ListFindingsRequest,WebSecurityScannerClient.ListFindingsPagedResponse> listFindingsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListFindingsRequest,ListFindingsPagedResponse>
Overrides

listScanConfigsCallable()

public UnaryCallable<ListScanConfigsRequest,ListScanConfigsResponse> listScanConfigsCallable()
Returns
TypeDescription
UnaryCallable<ListScanConfigsRequest,ListScanConfigsResponse>
Overrides

listScanConfigsPagedCallable()

public UnaryCallable<ListScanConfigsRequest,WebSecurityScannerClient.ListScanConfigsPagedResponse> listScanConfigsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListScanConfigsRequest,ListScanConfigsPagedResponse>
Overrides

listScanRunsCallable()

public UnaryCallable<ListScanRunsRequest,ListScanRunsResponse> listScanRunsCallable()
Returns
TypeDescription
UnaryCallable<ListScanRunsRequest,ListScanRunsResponse>
Overrides

listScanRunsPagedCallable()

public UnaryCallable<ListScanRunsRequest,WebSecurityScannerClient.ListScanRunsPagedResponse> listScanRunsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListScanRunsRequest,ListScanRunsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startScanRunCallable()

public UnaryCallable<StartScanRunRequest,ScanRun> startScanRunCallable()
Returns
TypeDescription
UnaryCallable<StartScanRunRequest,ScanRun>
Overrides

stopScanRunCallable()

public UnaryCallable<StopScanRunRequest,ScanRun> stopScanRunCallable()
Returns
TypeDescription
UnaryCallable<StopScanRunRequest,ScanRun>
Overrides

updateScanConfigCallable()

public UnaryCallable<UpdateScanConfigRequest,ScanConfig> updateScanConfigCallable()
Returns
TypeDescription
UnaryCallable<UpdateScanConfigRequest,ScanConfig>
Overrides