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

Add HTTP Headers to Web Service Listener #6339

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

nkzarrabi
Copy link

@nkzarrabi nkzarrabi commented Nov 4, 2024

Fixes #6337

Add functionality to display HTTP Headers in Web Service Listener connector.

  • WebServiceListener.java:

    • Add httpHeadersField to display HTTP Headers.
    • Update initComponents to initialize httpHeadersField.
    • Update initLayout to add httpHeadersField to the layout.
    • Update setProperties and getProperties methods to handle HTTP Headers.
  • IWebServiceReceiver.java:

    • Add getHttpHeaders method to the interface.
  • WebServiceConfiguration.java:

    • Add configureHttpHeaders method to handle HTTP Headers.
  • WebServiceReceiver.java:

    • Add httpHeaders field to store HTTP Headers.
    • Implement getHttpHeaders method to return HTTP Headers.
    • Update createAuthenticator method to store HTTP Headers from HttpExchange.

For more details, open the Copilot Workspace session.

Fixes nextgenhealthcare#6337

Add functionality to display HTTP Headers in Web Service Listener connector.

* **WebServiceListener.java**:
  - Add `httpHeadersField` to display HTTP Headers.
  - Update `initComponents` to initialize `httpHeadersField`.
  - Update `initLayout` to add `httpHeadersField` to the layout.
  - Update `setProperties` and `getProperties` methods to handle HTTP Headers.

* **IWebServiceReceiver.java**:
  - Add `getHttpHeaders` method to the interface.

* **WebServiceConfiguration.java**:
  - Add `configureHttpHeaders` method to handle HTTP Headers.

* **WebServiceReceiver.java**:
  - Add `httpHeaders` field to store HTTP Headers.
  - Implement `getHttpHeaders` method to return HTTP Headers.
  - Update `createAuthenticator` method to store HTTP Headers from `HttpExchange`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/nextgenhealthcare/connect/issues/6337?shareId=XXXX-XXXX-XXXX-XXXX).
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.

[IDEA] Get HTTP Headers in a WebServiceListener Connector
1 participant