Class Service

java.lang.Object
org.n52.iceland.service.Service

@Configurable @Controller @RequestMapping(value="/service", consumes="*/*", produces="*/*") public class Service extends Object
The servlet of the Service which receives the incoming HttpPost and HttpGet requests and sends the operation result documents to the client TODO review exception handling
Since:
1.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     
    protected void
    doDefaultOptions(Binding binding, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     
    void
    get(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     
    protected void
    onHttpException(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, HTTPException exception)
     
    void
    post(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     
    void
    put(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     
    void
    setRequestTimeout(Integer requestTimeout)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Service

      public Service()
  • Method Details

    • delete

      @RequestMapping(method=DELETE) public void delete(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
      Throws:
      IOException
    • get

      @RequestMapping(method=GET) public void get(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
      Throws:
      IOException
    • post

      @RequestMapping(method=POST) public void post(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
      Throws:
      IOException
    • put

      @RequestMapping(method=PUT) public void put(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
      Throws:
      IOException
    • onHttpException

      protected void onHttpException(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, HTTPException exception) throws IOException
      Throws:
      IOException
    • doDefaultOptions

      protected void doDefaultOptions(Binding binding, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException
    • setRequestTimeout

      @Setting(value="service.request.timeout", required=false) public void setRequestTimeout(Integer requestTimeout)