BrowseResult class removed. Using of ProxyHandler

Hi,
we’re developing Nexus plugin and noticed that BrowseResult class was removed (replaced with PageResult). There were no mention in release notes, so after upgrade Nexus versions the plugin could not be activated during bootstrap phase.

Questions:

  • is it the right way to use BrowseResult/PageResult to get assets from the Context object
  • is it the right way to extend ProxyHandler and intercept all requests when artifacts will be downloaded

Thanks.

Without really know what you’re attempting, if you want to listen to requests to repositories you would probably want to create an implementation of ContributedHandler (annotated with @Named to be injected) - nexus-public/ContributedHandler.java at master · sonatype/nexus-public · GitHub

Thanks @mpiggott! I’m going to check it