Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Account Activity API (beta) "GET account_activity/all/webhooks". …
…fixes #324 @45M
- Loading branch information
みぞ@CrazyBeatCoder
committed
Feb 19, 2018
1 parent
4b29455
commit 9180cbd
Showing
10 changed files
with
67 additions
and
38 deletions.
There are no files selected for viewing
9 changes: 0 additions & 9 deletions
9
...m/mizo0203/twitter/account/activity/api/beta/samples/DeactivatesSubscriptionsServlet.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
...va/com/mizo0203/twitter/account/activity/api/beta/samples/RegistersWebhookUrlServlet.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...in/java/com/mizo0203/twitter/account/activity/api/beta/samples/ReturnsAllUrlsServlet.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.mizo0203.twitter.account.activity.api.beta.samples; | ||
|
||
import com.mizo0203.twitter.account.activity.api.beta.samples.domain.UseCase; | ||
|
||
import javax.servlet.http.HttpServlet; | ||
import javax.servlet.http.HttpServletRequest; | ||
import javax.servlet.http.HttpServletResponse; | ||
import java.io.IOException; | ||
|
||
public class ReturnsAllUrlsServlet extends HttpServlet { | ||
|
||
@Override | ||
public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { | ||
try (UseCase useCase = new UseCase()) { | ||
useCase.returnsAllUrls(); | ||
} | ||
} | ||
} |
9 changes: 0 additions & 9 deletions
9
...ain/java/com/mizo0203/twitter/account/activity/api/beta/samples/SubscriptionsServlet.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
...ava/com/mizo0203/twitter/account/activity/api/beta/samples/TwitterHookHandlerServlet.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters