protected byte[] getResource() {
        byte[] resource = this.myURIBytes;
        // 355398 - use SC impl
        HttpOutboundServiceContextImpl sc = (HttpOutboundServiceContextImpl) super.getServiceContext();
        if (sc.getLink().getTargetAddress().isForwardProxy()) {
            resource = getRequestURLAsByteArray();
        }

        if (null != this.myQueryBytes) {
            // append the query string
            byte[] temp = resource;
            resource = new byte[temp.length + 1 + this.myQueryBytes.length];
            System.arraycopy(temp, 0, resource, 0, temp.length);
            resource[temp.length] = QUESTIONMARK;
            System.arraycopy(this.myQueryBytes, 0, resource, temp.length + 1, this.myQueryBytes.length);
        }
        return resource;
    }
protected byte [ ] getResource ( ) { byte [ ] resource = this . myURIBytes ; HttpOutboundServiceContextImpl sc = ( HttpOutboundServiceContextImpl ) super . getServiceContext ( ) ; if ( sc . getLink ( ) . getTargetAddress ( ) . isForwardProxy ( ) ) { resource = getRequestURLAsByteArray ( ) ; } if ( null != this . myQueryBytes ) { byte [ ] temp = resource ; resource = new byte [ temp . length + 1 + this . myQueryBytes . length ] ; System . arraycopy ( temp , 0 , resource , 0 , temp . length ) ; resource [ temp . length ] = QUESTIONMARK ; System . arraycopy ( this . myQueryBytes , 0 , resource , temp . length + 1 , this . myQueryBytes . length ) ; } return resource ; }
Return the resource information that will be marshalled with the outgoing
request message. This will use the URL bytes if they exist (caller would
provide a full URL through the setRequestURL if they wish to target a
forward proxy), or just use the URI. If a query string exists, then it
will be appended.

@return byte[]