Package io.jans.as.server.servlet
Class FapiOpenIdConfiguration
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- io.jans.as.server.servlet.FapiOpenIdConfiguration
-
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
@WebServlet(urlPatterns="/fapi-rs/.well-known/openid-configuration", loadOnStartup=9) public class FapiOpenIdConfiguration extends jakarta.servlet.http.HttpServlet
- Version:
- August 14, 2019
- Author:
- Javier Rojas Blum, Yuriy Movchan Date: 2016/04/26
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FapiOpenIdConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
Handles the HTTPGET
method.protected void
doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
Handles the HTTPPOST
method.String
getServletInfo()
Returns a short description of the servlet.void
init()
protected void
processRequest(jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse httpResponse)
Processes requests for both HTTPGET
andPOST
methods.-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
init
public void init() throws jakarta.servlet.ServletException
- Overrides:
init
in classjakarta.servlet.GenericServlet
- Throws:
jakarta.servlet.ServletException
-
processRequest
protected void processRequest(jakarta.servlet.http.HttpServletRequest servletRequest, jakarta.servlet.http.HttpServletResponse httpResponse)
Processes requests for both HTTPGET
andPOST
methods.- Parameters:
servletRequest
- servlet requesthttpResponse
- servlet response
-
doGet
protected void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
Handles the HTTPGET
method.- Overrides:
doGet
in classjakarta.servlet.http.HttpServlet
- Parameters:
request
- servlet requestresponse
- servlet response- Throws:
IOException
- if an I/O error occurs
-
doPost
protected void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
Handles the HTTPPOST
method.- Overrides:
doPost
in classjakarta.servlet.http.HttpServlet
- Parameters:
request
- servlet requestresponse
- servlet response- Throws:
IOException
- if an I/O error occurs
-
getServletInfo
public String getServletInfo()
Returns a short description of the servlet.- Specified by:
getServletInfo
in interfacejakarta.servlet.Servlet
- Overrides:
getServletInfo
in classjakarta.servlet.GenericServlet
- Returns:
- a String containing servlet description
-
-