Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make HttpLifecycleObserverServiceFilter public #2051

Merged
merged 5 commits into from
Jan 13, 2022

Conversation

idelpivnitskiy
Copy link
Member

@idelpivnitskiy idelpivnitskiy commented Jan 11, 2022

Motivation:

Server-side users may need to move HttpLifecycleObserver after other
filters or apply it conditionally.

Modifications:

  • Make HttpLifecycleObserverServiceFilter public;
  • Enhance HttpLifecycleObserverServiceFilter javadoc to clarify how
    its position in the filter chain may impact observed results;

Result:

Server-side users can place HttpLifecycleObserver at any position in
the filter chain.

Depends on #2050

Motivation:

Server-side users may need to move `HttpLifecycleObserver` after other
filters or apply it conditionally.

Modifications:

- Make `HttpLifecycleObserverServiceFilter` public;
- Enhance `HttpLifecycleObserverServiceFilter` javadoc to clarify how
its position in the filter chain may impact observed results;

Result:

Server-side users can place `HttpLifecycleObserver` at any position in
the filter chain.
Copy link
Contributor

@bondolo bondolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after a bit of wordsmithing

idelpivnitskiy and others added 4 commits January 12, 2022 19:39
…/HttpLifecycleObserverServiceFilter.java

Co-authored-by: Mike Duigou <[email protected]>
…/HttpLifecycleObserverServiceFilter.java

Co-authored-by: Mike Duigou <[email protected]>
…/HttpLifecycleObserverServiceFilter.java

Co-authored-by: Mike Duigou <[email protected]>
@idelpivnitskiy idelpivnitskiy merged commit 814a248 into apple:main Jan 13, 2022
@idelpivnitskiy idelpivnitskiy deleted the observer branch January 13, 2022 02:45
idelpivnitskiy added a commit that referenced this pull request Jan 13, 2022
Motivation:

Server-side users may need to move `HttpLifecycleObserver` after other
filters or apply it conditionally.

Modifications:

- Make `HttpLifecycleObserverServiceFilter` public;
- Enhance `HttpLifecycleObserverServiceFilter` javadoc to clarify how
its position in the filter chain may impact observed results;

Result:

Server-side users can place `HttpLifecycleObserver` at any position in
the filter chain.
idelpivnitskiy added a commit that referenced this pull request Jan 13, 2022
Motivation:

Server-side users may need to move `HttpLifecycleObserver` after other
filters or apply it conditionally.

Modifications:

- Make `HttpLifecycleObserverServiceFilter` public;
- Enhance `HttpLifecycleObserverServiceFilter` javadoc to clarify how
its position in the filter chain may impact observed results;

Result:

Server-side users can place `HttpLifecycleObserver` at any position in
the filter chain.
idelpivnitskiy added a commit to idelpivnitskiy/servicetalk that referenced this pull request Feb 16, 2022
Motivation:

apple#2051 made `HttpLifecycleObserverServiceFilter` class public, but forgot
to make its constructor public too.

Modifications:

- Make `HttpLifecycleObserverServiceFilter` constructor public;

Result:

Users can create an instance of `HttpLifecycleObserverServiceFilter`
to use it with `appendServiceFilter(...)`.
idelpivnitskiy added a commit that referenced this pull request Feb 17, 2022
Motivation:

#2051 made `HttpLifecycleObserverServiceFilter` class public, but forgot
to make its constructor public too.

Modifications:

- Make `HttpLifecycleObserverServiceFilter` constructor public;

Result:

Users can create an instance of `HttpLifecycleObserverServiceFilter`
to use it with `appendServiceFilter(...)`.
idelpivnitskiy added a commit that referenced this pull request Feb 17, 2022
Motivation:

#2051 made `HttpLifecycleObserverServiceFilter` class public, but forgot
to make its constructor public too.

Modifications:

- Make `HttpLifecycleObserverServiceFilter` constructor public;

Result:

Users can create an instance of `HttpLifecycleObserverServiceFilter`
to use it with `appendServiceFilter(...)`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants