org.trialox.jaxrs.mock
Class RequestImpl
java.lang.Object
org.trialox.jaxrs.mock.RequestImpl
- All Implemented Interfaces:
- org.wymiwyg.wrhapi.Request
public class RequestImpl
- extends java.lang.Object
- implements org.wymiwyg.wrhapi.Request
- Version:
- $Id: $
- Author:
- szalay
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestImpl
public RequestImpl()
getBody
public java.lang.Object getBody()
- Specified by:
getBody in interface org.wymiwyg.wrhapi.Request
setBody
public void setBody(java.lang.Object body)
getHeaderNames
public java.util.Set<org.wymiwyg.wrhapi.HeaderName> getHeaderNames()
- Specified by:
getHeaderNames in interface org.wymiwyg.wrhapi.Request
getHeaderValues
public java.lang.String[] getHeaderValues(org.wymiwyg.wrhapi.HeaderName headerName)
- Specified by:
getHeaderValues in interface org.wymiwyg.wrhapi.Request
setHeader
public void setHeader(org.wymiwyg.wrhapi.HeaderName headerName,
java.lang.String[] values)
getMessageBody
public org.wymiwyg.wrhapi.MessageBody getMessageBody()
- Specified by:
getMessageBody in interface org.wymiwyg.wrhapi.Request
setMessageBody
public void setMessageBody(org.wymiwyg.wrhapi.MessageBody messageBody)
getMethod
public org.wymiwyg.wrhapi.Method getMethod()
- Specified by:
getMethod in interface org.wymiwyg.wrhapi.Request
setMethod
public void setMethod(org.wymiwyg.wrhapi.Method method)
getPort
public int getPort()
- Specified by:
getPort in interface org.wymiwyg.wrhapi.Request
setPort
public void setPort(int port)
getRemoteHost
public java.net.InetAddress getRemoteHost()
- Specified by:
getRemoteHost in interface org.wymiwyg.wrhapi.Request
setRemoteHost
public void setRemoteHost(java.net.InetAddress remoteHost)
getRequestURI
public org.wymiwyg.wrhapi.RequestURI getRequestURI()
- Specified by:
getRequestURI in interface org.wymiwyg.wrhapi.Request
setRequestURI
public void setRequestURI(org.wymiwyg.wrhapi.RequestURI requestURI)
getScheme
public org.wymiwyg.wrhapi.URIScheme getScheme()
- Specified by:
getScheme in interface org.wymiwyg.wrhapi.Request
setScheme
public void setScheme(org.wymiwyg.wrhapi.URIScheme scheme)
Copyright © 2008. All Rights Reserved.