Skip to content

Commit

Permalink
feat: add jakarta mail/servlet api libraries (#220)
Browse files Browse the repository at this point in the history
Signed-off-by: sebthom <sebthom@users.noreply.github.com>
  • Loading branch information
sebthom authored Sep 30, 2024
1 parent a540381 commit 497d781
Show file tree
Hide file tree
Showing 12 changed files with 304 additions and 0 deletions.
1 change: 1 addition & 0 deletions libraries/jakarta-mail-api-2/eea-generator.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
packages.include=jakarta.mail
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class jakarta/mail/Message$RecipientType
TO
Ljakarta/mail/Message$RecipientType;
L1jakarta/mail/Message$RecipientType;
CC
Ljakarta/mail/Message$RecipientType;
L1jakarta/mail/Message$RecipientType;
BCC
Ljakarta/mail/Message$RecipientType;
L1jakarta/mail/Message$RecipientType;
28 changes: 28 additions & 0 deletions libraries/jakarta-mail-api-2/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.lastnpe.eea</groupId>
<artifactId>eea-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
</parent>

<artifactId>jakarta-mail-2-eea</artifactId>
<name>EEA :: Jakarta Mail API 2.x</name>

<!-- Do NOT use a <version> of the JAR for which this is an EEA here,
but version the EEA itself. Put the version of the lib into
the EEA's name, if at all.-->

<dependencies>
<dependency>
<groupId>jakarta.mail</groupId>
<artifactId>jakarta.mail-api</artifactId>
<version>2.1.3</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
1 change: 1 addition & 0 deletions libraries/jakarta-servlet-api-6/eea-generator.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
packages.include=jakarta.servlet
13 changes: 13 additions & 0 deletions libraries/jakarta-servlet-api-6/jakarta/servlet/Servlet.eea
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class jakarta/servlet/Servlet
getServletConfig
()Ljakarta/servlet/ServletConfig;
()L0jakarta/servlet/ServletConfig;
getServletInfo
()Ljava/lang/String;
()L0java/lang/String;
init
(Ljakarta/servlet/ServletConfig;)V
(L0jakarta/servlet/ServletConfig;)V
service
(Ljakarta/servlet/ServletRequest;Ljakarta/servlet/ServletResponse;)V
(L1jakarta/servlet/ServletRequest;L1jakarta/servlet/ServletResponse;)V
25 changes: 25 additions & 0 deletions libraries/jakarta-servlet-api-6/jakarta/servlet/ServletRequest.eea
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
class jakarta/servlet/ServletRequest
getCharacterEncoding
()Ljava/lang/String;
()L0java/lang/String;
getContentType
()Ljava/lang/String;
()L0java/lang/String;
getInputStream
()Ljakarta/servlet/ServletInputStream;
()L1jakarta/servlet/ServletInputStream;
getParameter
(Ljava/lang/String;)Ljava/lang/String;
(L1java/lang/String;)L0java/lang/String;
getParameterMap
()Ljava/util/Map<Ljava/lang/String;[Ljava/lang/String;>;
()L1java/util/Map<Ljava/lang/String;[Ljava/lang/String;>;
getParameterNames
()Ljava/util/Enumeration<Ljava/lang/String;>;
()L1java/util/Enumeration<Ljava/lang/String;>;
getParameterValues
(Ljava/lang/String;)[Ljava/lang/String;
(L1java/lang/String;)[0L1java/lang/String;
setCharacterEncoding
(Ljava/lang/String;)V
(L0java/lang/String;)V
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
class jakarta/servlet/ServletResponse
getCharacterEncoding
()Ljava/lang/String;
()L0java/lang/String;
getContentType
()Ljava/lang/String;
()L0java/lang/String;
getLocale
()Ljava/util/Locale;
()L1java/util/Locale;
getOutputStream
()Ljakarta/servlet/ServletOutputStream;
()L1jakarta/servlet/ServletOutputStream;
getWriter
()Ljava/io/PrintWriter;
()L1java/io/PrintWriter;
setCharacterEncoding
(Ljava/lang/String;)V
(L0java/lang/String;)V
setContentType
(Ljava/lang/String;)V
(L0java/lang/String;)V
setLocale
(Ljava/util/Locale;)V
(L0java/util/Locale;)V
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
class jakarta/servlet/http/HttpServlet
doDelete
(Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
(L1jakarta/servlet/http/HttpServletRequest;L1jakarta/servlet/http/HttpServletResponse;)V
doGet
(Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
(L1jakarta/servlet/http/HttpServletRequest;L1jakarta/servlet/http/HttpServletResponse;)V
doHead
(Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
(L1jakarta/servlet/http/HttpServletRequest;L1jakarta/servlet/http/HttpServletResponse;)V
doOptions
(Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
(L1jakarta/servlet/http/HttpServletRequest;L1jakarta/servlet/http/HttpServletResponse;)V
doPost
(Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
(L1jakarta/servlet/http/HttpServletRequest;L1jakarta/servlet/http/HttpServletResponse;)V
doPut
(Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
(L1jakarta/servlet/http/HttpServletRequest;L1jakarta/servlet/http/HttpServletResponse;)V
doTrace
(Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
(L1jakarta/servlet/http/HttpServletRequest;L1jakarta/servlet/http/HttpServletResponse;)V
getLastModified
(Ljakarta/servlet/http/HttpServletRequest;)J
(L1jakarta/servlet/http/HttpServletRequest;)J
init
(Ljakarta/servlet/ServletConfig;)V
(L0jakarta/servlet/ServletConfig;)V
service
(Ljakarta/servlet/ServletRequest;Ljakarta/servlet/ServletResponse;)V
(L1jakarta/servlet/ServletRequest;L1jakarta/servlet/ServletResponse;)V
service
(Ljakarta/servlet/http/HttpServletRequest;Ljakarta/servlet/http/HttpServletResponse;)V
(L1jakarta/servlet/http/HttpServletRequest;L1jakarta/servlet/http/HttpServletResponse;)V
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
class jakarta/servlet/http/HttpServletRequest
BASIC_AUTH
Ljava/lang/String;
L1java/lang/String;
CLIENT_CERT_AUTH
Ljava/lang/String;
L1java/lang/String;
DIGEST_AUTH
Ljava/lang/String;
L1java/lang/String;
FORM_AUTH
Ljava/lang/String;
L1java/lang/String;
authenticate
(Ljakarta/servlet/http/HttpServletResponse;)Z
(L1jakarta/servlet/http/HttpServletResponse;)Z
changeSessionId
()Ljava/lang/String;
()L1java/lang/String;
getAuthType
()Ljava/lang/String;
()L0java/lang/String;
getContextPath
()Ljava/lang/String;
()L0java/lang/String;
getCookies
()[Ljakarta/servlet/http/Cookie;
()[0L1jakarta/servlet/http/Cookie;
getDateHeader
(Ljava/lang/String;)J
(L1java/lang/String;)J
getHeader
(Ljava/lang/String;)Ljava/lang/String;
(L1java/lang/String;)L0java/lang/String;
getHeaderNames
()Ljava/util/Enumeration<Ljava/lang/String;>;
()L0java/util/Enumeration<Ljava/lang/String;>;
getHeaders
(Ljava/lang/String;)Ljava/util/Enumeration<Ljava/lang/String;>;
(L1java/lang/String;)L0java/util/Enumeration<Ljava/lang/String;>;
getIntHeader
(Ljava/lang/String;)I
(L1java/lang/String;)I
getMethod
()Ljava/lang/String;
()L0java/lang/String;
getPart
(Ljava/lang/String;)Ljakarta/servlet/http/Part;
(L1java/lang/String;)L0jakarta/servlet/http/Part;
getParts
()Ljava/util/Collection<Ljakarta/servlet/http/Part;>;
()L1java/util/Collection<Ljakarta/servlet/http/Part;>;
getPathInfo
()Ljava/lang/String;
()L0java/lang/String;
getPathTranslated
()Ljava/lang/String;
()L0java/lang/String;
getQueryString
()Ljava/lang/String;
()L0java/lang/String;
getRemoteUser
()Ljava/lang/String;
()L0java/lang/String;
getRequestURI
()Ljava/lang/String;
()L0java/lang/String;
getRequestURL
()Ljava/lang/StringBuffer;
()L0java/lang/StringBuffer;
getRequestedSessionId
()Ljava/lang/String;
()L0java/lang/String;
getServletPath
()Ljava/lang/String;
()L1java/lang/String;
getSession
()Ljakarta/servlet/http/HttpSession;
()L1jakarta/servlet/http/HttpSession;
getSession
(Z)Ljakarta/servlet/http/HttpSession;
(Z)L0jakarta/servlet/http/HttpSession;
getUserPrincipal
()Ljava/security/Principal;
()L0java/security/Principal;
isUserInRole
(Ljava/lang/String;)Z
(L1java/lang/String;)Z
login
(Ljava/lang/String;Ljava/lang/String;)V
(L1java/lang/String;L1java/lang/String;)V
upgrade
<T::Ljakarta/servlet/http/HttpUpgradeHandler;>(Ljava/lang/Class<TT;>;)TT;
<T::Ljakarta/servlet/http/HttpUpgradeHandler;>(L1java/lang/Class<TT;>;)T1T;
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
class jakarta/servlet/http/HttpServletResponse
addCookie
(Ljakarta/servlet/http/Cookie;)V
(L1jakarta/servlet/http/Cookie;)V
addDateHeader
(Ljava/lang/String;J)V
(L1java/lang/String;J)V
addHeader
(Ljava/lang/String;Ljava/lang/String;)V
(L1java/lang/String;L0java/lang/String;)V
addIntHeader
(Ljava/lang/String;I)V
(L1java/lang/String;I)V
containsHeader
(Ljava/lang/String;)Z
(L1java/lang/String;)Z
encodeRedirectURL
(Ljava/lang/String;)Ljava/lang/String;
(L0java/lang/String;)L0java/lang/String;
encodeURL
(Ljava/lang/String;)Ljava/lang/String;
(L0java/lang/String;)L0java/lang/String;
getHeader
(Ljava/lang/String;)Ljava/lang/String;
(L1java/lang/String;)L0java/lang/String;
getHeaderNames
()Ljava/util/Collection<Ljava/lang/String;>;
()L1java/util/Collection<Ljava/lang/String;>;
sendError
(ILjava/lang/String;)V
(IL0java/lang/String;)V
sendRedirect
(Ljava/lang/String;)V
(L1java/lang/String;)V
setDateHeader
(Ljava/lang/String;J)V
(L1java/lang/String;J)V
setHeader
(Ljava/lang/String;Ljava/lang/String;)V
(L1java/lang/String;L0java/lang/String;)V
setIntHeader
(Ljava/lang/String;I)V
(L1java/lang/String;I)V
28 changes: 28 additions & 0 deletions libraries/jakarta-servlet-api-6/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.lastnpe.eea</groupId>
<artifactId>eea-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
</parent>

<artifactId>jakarta-servlet-api-6-eea</artifactId>
<name>EEA :: Jakarta Servlet API 6.x</name>

<!-- Do NOT use a <version> of the JAR for which this is an EEA here,
but version the EEA itself. Put the version of the lib into
the EEA's name, if at all.-->

<dependencies>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>6.1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
2 changes: 2 additions & 0 deletions libraries/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
<module>java-17</module>
<module>gson-2</module>
<module>guava</module>
<module>jakarta-mail-api-2</module>
<module>jakarta-servlet-api-6</module>
<module>javax-mail-api-1</module>
<module>javax-servlet-api-4</module>
<module>jetty-client-12</module>
Expand Down

0 comments on commit 497d781

Please sign in to comment.