
public class BerichtEndpointFileServlet extends HttpServlet
curl -X POST -H "Content-Type: application/xml" http://localhost:8037/brmo-proxyservice/post/brk -d @'pom.xml'
curl -v -s --trace-ascii http_trace.log --data-binary @src/test/resources/web.xml.gz -H "Content-Type: text/xml" -H "Content-Encoding: gzip" -X POST http://localhost:8037/brmo-proxyservice/post/brk
wget --post-file="test.xml" --append-output=logs/wget.log --ca-cert=./ca.pem --certificate=./client.pem --private-key=./key.pem https://somehost.nl/brmo-proxyservice/post/brk -O - >> output.log| Constructor and Description |
|---|
BerichtEndpointFileServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doPost(HttpServletRequest request,
HttpServletResponse response)
Handles the HTTP
POST. |
void |
init() |
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic void init()
throws ServletException
init in class GenericServletServletExceptionprotected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
POST.doPost in class HttpServletrequest - servlet requestresponse - servlet responseServletException - if a servlet-specific error occursIOException - if an I/O error occursCopyright © 2014–2018 B3Partners B.V.. All rights reserved.