@UrlBinding(value="/action/proxy/{mode}")
@StrictBinding
public class ProxyActionBean
extends Object
implements net.sourceforge.stripes.action.ActionBean, nl.b3p.viewer.audit.Auditable
| Constructor and Description |
|---|
ProxyActionBean() |
| Modifier and Type | Method and Description |
|---|---|
nl.b3p.viewer.audit.AuditMessageObject |
getAuditMessageObject() |
net.sourceforge.stripes.action.ActionBeanContext |
getContext() |
nl.b3p.commons.HttpClientConfigured |
getHttpClient(URL theUrl,
javax.persistence.EntityManager em) |
org.apache.http.client.methods.HttpUriRequest |
getHttpRequest(URL url) |
String |
getMode() |
protected URL |
getRequestRL(javax.persistence.EntityManager em) |
Long |
getServiceId() |
String |
getUrl() |
void |
initAudit() |
boolean |
isMustLogin() |
net.sourceforge.stripes.action.Resolution |
proxy() |
void |
setContext(net.sourceforge.stripes.action.ActionBeanContext context) |
void |
setMode(String mode) |
void |
setMustLogin(boolean mustLogin) |
void |
setServiceId(Long serviceId) |
void |
setUrl(String url) |
public net.sourceforge.stripes.action.ActionBeanContext getContext()
getContext in interface net.sourceforge.stripes.action.ActionBeanpublic void setContext(net.sourceforge.stripes.action.ActionBeanContext context)
setContext in interface net.sourceforge.stripes.action.ActionBeanpublic String getUrl()
public void setUrl(String url)
public String getMode()
public void setMode(String mode)
public boolean isMustLogin()
public void setMustLogin(boolean mustLogin)
public Long getServiceId()
public void setServiceId(Long serviceId)
@DefaultHandler
public net.sourceforge.stripes.action.Resolution proxy()
throws Exception
Exceptionprotected URL getRequestRL(javax.persistence.EntityManager em) throws MalformedURLException, UnsupportedEncodingException, IllegalAccessException
public nl.b3p.commons.HttpClientConfigured getHttpClient(URL theUrl, javax.persistence.EntityManager em)
public org.apache.http.client.methods.HttpUriRequest getHttpRequest(URL url) throws URISyntaxException
URISyntaxExceptionpublic nl.b3p.viewer.audit.AuditMessageObject getAuditMessageObject()
getAuditMessageObject in interface nl.b3p.viewer.audit.Auditable@Before(stages=EventHandling) public void initAudit()
Copyright © 2020. All rights reserved.