Skip to content

Commit

Permalink
Update UrlReplaceHandler.java
Browse files Browse the repository at this point in the history
javadoc corrections
  • Loading branch information
ramsessanchez authored Jul 20, 2023
1 parent cec3ff4 commit 5a42ba3
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ public class UrlReplaceHandler implements Interceptor {
private UrlReplaceHandlerOption mUrlReplaceHandlerOption;

/**
* Instantiate a GraphTelemetryHandler with default GraphClientOption.
* Instantiate a UrlReplaceHandler with default UrlReplaceHandlerOption.
*/
public UrlReplaceHandler(){
this(new UrlReplaceHandlerOption());
}
/**
* Instantiate a UrlReplaceHandler with specified GraphClientOption
* @param urlReplaceHandlerOption the specified GraphClientOption for the GraphTelemetryHandler.
* Instantiate a UrlReplaceHandler with specified UrlReplaceHandlerOption
* @param urlReplaceHandlerOption the specified UrlReplaceHandlerOption for the UrlReplaceHandler.
*/
public UrlReplaceHandler(@Nonnull UrlReplaceHandlerOption urlReplaceHandlerOption){
Objects.requireNonNull(urlReplaceHandlerOption);
Expand Down Expand Up @@ -66,15 +66,15 @@ public Response intercept(@Nonnull Chain chain) throws IOException {
return chain.proceed(request);
}
/**
* Gets the GraphClientOption for the GraphTelemetryHandler.
* @return the GraphClientOption for the GraphTelemetryHandler.
* Gets the UrlReplaceHandlerOption for the UrlReplaceHandler.
* @return the UrlReplaceHandlerOption for the UrlReplaceHandler.
*/
public UrlReplaceHandlerOption getUrlReplaceHandlerOption() {
return new UrlReplaceHandlerOption(mUrlReplaceHandlerOption.getReplacementPairs(), mUrlReplaceHandlerOption.isEnabled());
}
/**
* Sets the GraphClientOption for the GraphTelemetryHandler.
* @param urlReplaceHandlerOption the GraphClientOption to set.
* Sets the GraphClientOption for the UrlReplaceHandler.
* @param urlReplaceHandlerOption the UrlReplaceHandlerOption to set.
*/
public void setUrlReplaceHandlerOption(UrlReplaceHandlerOption urlReplaceHandlerOption) {
this.mUrlReplaceHandlerOption = new UrlReplaceHandlerOption(urlReplaceHandlerOption.getReplacementPairs(), urlReplaceHandlerOption.isEnabled());
Expand Down

0 comments on commit 5a42ba3

Please sign in to comment.